public class VHostMapListener extends ZooKeeperListener
watcher| Modifier and Type | Method and Description |
|---|---|
static VHostMapListener |
getInstance(String root,
org.apache.hadoop.conf.Configuration conf) |
String |
getVhost(String host) |
void |
nodeChildrenChanged(String path)
Called when an existing node has a child node added or removed.
|
String |
toString() |
getWatcher, nodeCreated, nodeDataChanged, nodeDeletedpublic static VHostMapListener getInstance(String root, org.apache.hadoop.conf.Configuration conf)
public void nodeChildrenChanged(String path)
ZooKeeperListenernodeChildrenChanged in class ZooKeeperListenerpath - full path of the node whose children have changedCopyright © 2007–2017. All rights reserved.