@InterfaceAudience.Private public class VHostMapListener extends ZooKeeperListener
watcher| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 ZooKeeperListenerpath - full path of the node whose children have changedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.