Interface CuratorWatcher

  • All Known Implementing Classes:
    EnsembleTracker

    public interface CuratorWatcher
    A version of Watcher that can throw an exception
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void process​(org.apache.zookeeper.WatchedEvent event)
      Same as Watcher.process(WatchedEvent).
    • Method Detail

      • process

        void process​(org.apache.zookeeper.WatchedEvent event)
              throws java.lang.Exception
        Same as Watcher.process(WatchedEvent). If an exception is thrown, Curator will log it
        Parameters:
        event - the event
        Throws:
        java.lang.Exception - any exceptions to log