Class ZooInspectorManagerImpl.NodeWatcher
java.lang.Object
org.apache.zookeeper.inspector.manager.ZooInspectorManagerImpl.NodeWatcher
- All Implemented Interfaces:
Watcher
- Enclosing class:
ZooInspectorManagerImpl
A Watcher which will re-add itself every time an event is fired
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher
Watcher.Event, Watcher.WatcherType -
Constructor Summary
ConstructorsConstructorDescriptionNodeWatcher(String nodePath, NodeListener nodeListener, ZooKeeper zookeeper) -
Method Summary
-
Constructor Details
-
NodeWatcher
public NodeWatcher(String nodePath, NodeListener nodeListener, ZooKeeper zookeeper) throws KeeperException, InterruptedException - Parameters:
nodePath- - the path to the node to watchnodeListener- theNodeListenerfor this nodezookeeper- - aZooKeeperto use to access zookeeper- Throws:
InterruptedExceptionKeeperException
-
-
Method Details