Class LocalBookkeeperEnsemble.ZKConnectionWatcher

  • All Implemented Interfaces:
    org.apache.zookeeper.Watcher
    Enclosing class:
    LocalBookkeeperEnsemble

    public static class LocalBookkeeperEnsemble.ZKConnectionWatcher
    extends java.lang.Object
    implements org.apache.zookeeper.Watcher
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher

        org.apache.zookeeper.Watcher.Event, org.apache.zookeeper.Watcher.WatcherType
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(org.apache.zookeeper.WatchedEvent event)  
      void waitForConnection()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZKConnectionWatcher

        public ZKConnectionWatcher()
    • Method Detail

      • process

        public void process​(org.apache.zookeeper.WatchedEvent event)
        Specified by:
        process in interface org.apache.zookeeper.Watcher
      • waitForConnection

        public void waitForConnection()
                               throws java.io.IOException
        Throws:
        java.io.IOException