public class ReplicationPeerZKImpl.PeerStateTracker extends ZKNodeTracker
abortable, LOG, node
watcher
Constructor and Description |
---|
PeerStateTracker(String peerStateZNode,
ZKWatcher 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, toString
getWatcher, nodeChildrenChanged
public PeerStateTracker(String peerStateZNode, ZKWatcher watcher, Abortable abortable)
public void nodeDataChanged(String path)
ZKListener
nodeDataChanged
in class ZKNodeTracker
path
- full path of the updated nodeCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.