@InterfaceAudience.Private public class VHostMapListener extends ZooKeeperListener
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MAX_CACHED_VHOSTMAP_INSTANCES |
static Map<org.apache.hadoop.hbase.client.HConnectionKey,VHostMapListener> |
VHOST_INSTANCES |
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 |
prefix(String str)
Adds this instance's identifier as a prefix to the passed
str |
String |
toString() |
getWatcher, nodeCreated, nodeDataChanged, nodeDeletedpublic static final Map<org.apache.hadoop.hbase.client.HConnectionKey,VHostMapListener> VHOST_INSTANCES
public static final int MAX_CACHED_VHOSTMAP_INSTANCES
public 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 changedpublic String prefix(String str)
strstr - String to amend.Copyright © 2007–2019. All rights reserved.