| Modifier and Type | Field and Description |
|---|---|
private String |
clusterId |
(package private) ConnectionManager.HConnectionImplementation |
hci |
private static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
ZooKeeperRegistry() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterId() |
int |
getCurrentNrHRS() |
RegionLocations |
getMetaRegionLocation() |
void |
init(Connection connection) |
boolean |
isTableOnlineState(TableName tableName,
boolean enabled) |
private static final org.apache.commons.logging.Log LOG
private String clusterId
public void init(Connection connection)
public RegionLocations getMetaRegionLocation() throws IOException
getMetaRegionLocation in interface RegistryIOExceptionpublic String getClusterId()
getClusterId in interface Registrypublic boolean isTableOnlineState(TableName tableName, boolean enabled) throws IOException
isTableOnlineState in interface Registryenabled - Return true if table is enabledIOExceptionpublic int getCurrentNrHRS()
throws IOException
getCurrentNrHRS in interface RegistryIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.