public class MetaNodeTracker extends ZooKeeperNodeTracker
If META is already assigned when instantiating this class, you will not receive any notification for that assignment. You will receive a notification after META has been successfully assigned to a new location.
abortable, node
watcher
Constructor and Description |
---|
MetaNodeTracker(ZooKeeperWatcher watcher,
Abortable abortable)
Creates a meta node tracker.
|
Modifier and Type | Method and Description |
---|---|
void |
nodeDeleted(String path)
Called when a node has been deleted
|
blockUntilAvailable, blockUntilAvailable, checkIfBaseNodeAvailable, getData, getNode, nodeCreated, nodeDataChanged, start, stop
nodeChildrenChanged
public MetaNodeTracker(ZooKeeperWatcher watcher, Abortable abortable)
watcher
- abortable
- public void nodeDeleted(String path)
ZooKeeperListener
nodeDeleted
in class ZooKeeperNodeTracker
path
- full path of the deleted nodeCopyright © 2014 The Apache Software Foundation. All Rights Reserved.