public class ReplicationPeerZKImpl.TableCFsTracker extends ZooKeeperNodeTracker
abortable, node
watcher
Constructor and Description |
---|
ReplicationPeerZKImpl.TableCFsTracker(String tableCFsZNode,
ZooKeeperWatcher watcher,
Abortable abortable) |
Modifier and Type | Method and Description |
---|---|
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, toString
getWatcher, nodeChildrenChanged
public ReplicationPeerZKImpl.TableCFsTracker(String tableCFsZNode, ZooKeeperWatcher watcher, Abortable abortable)
public void nodeCreated(String path)
ZooKeeperListener
nodeCreated
in class ZooKeeperNodeTracker
path
- full path of the new nodepublic void nodeDataChanged(String path)
ZooKeeperListener
nodeDataChanged
in class ZooKeeperNodeTracker
path
- full path of the updated nodeCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.