public class ReplicationPeerZKImpl.PeerStateTracker extends ZooKeeperNodeTracker
abortable, LOG, node
watcher
构造器和说明 |
---|
ReplicationPeerZKImpl.PeerStateTracker(String peerStateZNode,
ZooKeeperWatcher watcher,
Abortable abortable) |
限定符和类型 | 方法和说明 |
---|---|
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 ReplicationPeerZKImpl.PeerStateTracker(String peerStateZNode, ZooKeeperWatcher watcher, Abortable abortable)
public void nodeDataChanged(String path)
ZooKeeperListener
nodeDataChanged
在类中 ZooKeeperNodeTracker
path
- full path of the updated nodeCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.