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 Registry
IOException
public String getClusterId()
getClusterId
in interface Registry
public boolean isTableOnlineState(TableName tableName, boolean enabled) throws IOException
isTableOnlineState
in interface Registry
enabled
- Return true if table is enabledIOException
public int getCurrentNrHRS() throws IOException
getCurrentNrHRS
in interface Registry
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.