Interface WatchEventListener


  • public interface WatchEventListener
    A visit like interface that allows you to only override the functions you are interested in
    • Method Detail

      • onCreated

        default void onCreated​(WatchEvent ev)
        executed in case of a create event
        Parameters:
        ev - the event
      • onModified

        default void onModified​(WatchEvent ev)
        executed in case of a modified event
        Parameters:
        ev - the event
      • onDeleted

        default void onDeleted​(WatchEvent ev)
        executed in case of a delete event
        Parameters:
        ev - the event
      • onOverflow

        default void onOverflow​(WatchEvent ev)
        executed in case of a overflow event
        Parameters:
        ev - the event