Class ZooInspectorManagerImpl.NodeWatcher

  • All Implemented Interfaces:
    Watcher
    Enclosing class:
    ZooInspectorManagerImpl

    public class ZooInspectorManagerImpl.NodeWatcher
    extends java.lang.Object
    implements Watcher
    A Watcher which will re-add itself every time an event is fired
    • Constructor Detail

      • NodeWatcher

        public NodeWatcher​(java.lang.String nodePath,
                           NodeListener nodeListener,
                           ZooKeeper zookeeper)
                    throws KeeperException,
                           java.lang.InterruptedException
        Parameters:
        nodePath - - the path to the node to watch
        nodeListener - the NodeListener for this node
        zookeeper - - a ZooKeeper to use to access zookeeper
        Throws:
        java.lang.InterruptedException
        KeeperException