public class ReplicationPeer.PeerStateTracker extends ZooKeeperNodeTracker
abortable, node
watcher
Constructor and Description |
---|
ReplicationPeer.PeerStateTracker(String peerStateZNode,
ZooKeeperWatcher watcher,
Abortable abortable) |
Modifier and Type | Method and Description |
---|---|
void |
nodeDataChanged(String path)
Called when an existing node has changed data.
|
blockUntilAvailable, blockUntilAvailable, checkIfBaseNodeAvailable, getData, getNode, nodeCreated, nodeDeleted, start, stop
nodeChildrenChanged
public ReplicationPeer.PeerStateTracker(String peerStateZNode, ZooKeeperWatcher watcher, Abortable abortable)
public void nodeDataChanged(String path)
ZooKeeperListener
nodeDataChanged
in class ZooKeeperNodeTracker
path
- full path of the updated nodeCopyright © 2013 The Apache Software Foundation. All Rights Reserved.