public class ReplicationPeerZKImpl.TableCFsTracker extends ZooKeeperNodeTracker
abortable, nodewatcher| 构造器和说明 |
|---|
ReplicationPeerZKImpl.TableCFsTracker(String tableCFsZNode,
ZooKeeperWatcher watcher,
Abortable abortable) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
nodeCreated(String path)
Called when a new node has been created.
|
void |
nodeDataChanged(String path)
Called when an existing node has changed data.
|
blockUntilAvailable, blockUntilAvailable, checkIfBaseNodeAvailable, getData, getNode, nodeDeleted, start, stop, toStringgetWatcher, nodeChildrenChangedpublic ReplicationPeerZKImpl.TableCFsTracker(String tableCFsZNode, ZooKeeperWatcher watcher, Abortable abortable)
public void nodeCreated(String path)
ZooKeeperListenernodeCreated 在类中 ZooKeeperNodeTrackerpath - full path of the new nodepublic void nodeDataChanged(String path)
ZooKeeperListenernodeDataChanged 在类中 ZooKeeperNodeTrackerpath - full path of the updated nodeCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.