public static final class ServerConnectionUtils.ShortCircuitingClusterConnection extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
clusterId |
static String |
RETRIES_BY_SERVER_KEY |
protected User |
user |
HBASE_CLIENT_CONNECTION_IMPLclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitclearRegionCachegetTablepublic static final String RETRIES_BY_SERVER_KEY
protected User user
protected String clusterId
public org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin(ServerName sn) throws IOException
getAdmin in interface ClusterConnectionIOExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient(ServerName sn) throws IOException
getClient in interface ClusterConnectionIOExceptionpublic org.apache.hadoop.hbase.client.MasterKeepAliveConnection getMaster() throws IOException
getMaster in interface ClusterConnectionIOExceptionpublic Table getTable(TableName arg0) throws IOException
getTable in interface ConnectionIOExceptionpublic TableBuilder getTableBuilder(TableName arg0, ExecutorService arg1)
getTableBuilder in interface Connectionpublic BufferedMutator getBufferedMutator(BufferedMutatorParams arg0)
getBufferedMutator in interface Connectionpublic BufferedMutator getBufferedMutator(TableName arg0)
getBufferedMutator in interface Connectionpublic RegionLocator getRegionLocator(TableName arg0) throws IOException
getRegionLocator in interface ConnectionIOExceptionpublic Admin getAdmin() throws IOException
getAdmin in interface ConnectionIOExceptionpublic Hbck getHbck() throws IOException
getHbck in interface ConnectionIOExceptionpublic Hbck getHbck(ServerName arg0) throws IOException
getHbck in interface ConnectionIOExceptionpublic MetricsConnection getConnectionMetrics()
getConnectionMetrics in interface ClusterConnectionprotected ExecutorService getCurrentMetaLookupPool()
protected ExecutorService getCurrentBatchPool()
protected void retrieveClusterId()
public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration in interface Connection@Deprecated public boolean isMasterRunning() throws MasterNotRunningException, ZooKeeperConnectionException
isMasterRunning in interface ClusterConnectionMasterNotRunningExceptionZooKeeperConnectionExceptionpublic HRegionLocation getRegionLocation(TableName arg0, byte[] arg1, boolean arg2) throws IOException
getRegionLocation in interface ClusterConnectionIOExceptionpublic boolean isTableEnabled(TableName arg0) throws IOException
isTableEnabled in interface ClusterConnectionIOExceptionpublic boolean isTableDisabled(TableName arg0) throws IOException
isTableDisabled in interface ClusterConnectionIOExceptionpublic boolean isTableAvailable(TableName arg0, @Nullable byte[][] arg1) throws IOException
isTableAvailable in interface ClusterConnectionIOExceptionpublic HRegionLocation locateRegion(byte[] arg0) throws IOException
locateRegion in interface ClusterConnectionIOExceptionpublic List<HRegionLocation> locateRegions(TableName arg0) throws IOException
locateRegions in interface ClusterConnectionIOExceptionpublic List<HRegionLocation> locateRegions(TableName arg0, boolean arg1, boolean arg2) throws IOException
locateRegions in interface ClusterConnectionIOExceptionpublic HRegionLocation locateRegion(TableName arg0, byte[] arg1) throws IOException
locateRegion in interface ClusterConnectionIOExceptionpublic HRegionLocation relocateRegion(TableName arg0, byte[] arg1) throws IOException
relocateRegion in interface ClusterConnectionIOExceptionpublic RegionLocations relocateRegion(TableName arg0, byte[] arg1, int arg2) throws IOException
relocateRegion in interface ClusterConnectionIOExceptionpublic RegionLocations locateRegion(TableName arg0, byte[] arg1, boolean arg2, boolean arg3) throws IOException
locateRegion in interface ClusterConnectionIOExceptionpublic RegionLocations locateRegion(TableName arg0, byte[] arg1, boolean arg2, boolean arg3, int arg4) throws IOException
locateRegion in interface ClusterConnectionIOExceptionpublic void cacheLocation(TableName arg0, RegionLocations arg1)
cacheLocation in interface ClusterConnectionpublic void clearRegionCache(TableName arg0, byte[] arg1)
public void clearCaches(ServerName arg0)
clearCaches in interface ClusterConnectionpublic void clearRegionLocationCache()
clearRegionLocationCache in interface Connectionpublic void clearRegionCache(TableName arg0)
clearRegionCache in interface ClusterConnectionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdminForMaster() throws IOException
getAdminForMaster in interface ClusterConnectionIOExceptionpublic void deleteCachedRegionLocation(HRegionLocation arg0)
deleteCachedRegionLocation in interface ClusterConnectionpublic void updateCachedLocations(TableName arg0, byte[] arg1, byte[] arg2, Object arg3, ServerName arg4)
updateCachedLocations in interface ClusterConnectionpublic org.apache.hadoop.hbase.client.AsyncProcess getAsyncProcess()
getAsyncProcess in interface ClusterConnectionpublic ServerStatisticTracker getStatisticsTracker()
getStatisticsTracker in interface ClusterConnectionpublic ClientBackoffPolicy getBackoffPolicy()
getBackoffPolicy in interface ClusterConnectionpublic boolean isClosed()
isClosed in interface Connectionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface Connectionprotected void finalize()
throws Throwable
public NonceGenerator getNonceGenerator()
getNonceGenerator in interface ClusterConnectionpublic TableState getTableState(TableName arg0) throws IOException
getTableState in interface ClusterConnectionIOExceptionpublic RpcRetryingCallerFactory getNewRpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration arg0)
getNewRpcRetryingCallerFactory in interface ClusterConnectionpublic boolean hasCellBlockSupport()
hasCellBlockSupport in interface ClusterConnectionpublic ConnectionConfiguration getConnectionConfiguration()
getConnectionConfiguration in interface ClusterConnectionpublic RpcRetryingCallerFactory getRpcRetryingCallerFactory()
getRpcRetryingCallerFactory in interface ClusterConnectionpublic RpcControllerFactory getRpcControllerFactory()
getRpcControllerFactory in interface ClusterConnectionpublic String getClusterId()
getClusterId in interface ConnectionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.