Package org.apache.hadoop.hbase.client
Class TestAsyncProcess.MyConnectionImpl2
java.lang.Object
org.apache.hadoop.hbase.client.ConnectionImplementation
org.apache.hadoop.hbase.client.TestAsyncProcess.MyConnectionImpl
org.apache.hadoop.hbase.client.TestAsyncProcess.MyConnectionImpl2
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.hbase.Abortable,org.apache.hadoop.hbase.client.ClusterConnection,org.apache.hadoop.hbase.client.Connection
- Enclosing class:
- TestAsyncProcess
Returns our async process.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.TestAsyncProcess.MyConnectionImpl
TestAsyncProcess.MyConnectionImpl.TestRegistryNested classes/interfaces inherited from class org.apache.hadoop.hbase.client.ConnectionImplementation
org.apache.hadoop.hbase.client.ConnectionImplementation.MasterServiceState, org.apache.hadoop.hbase.client.ConnectionImplementation.ServerErrorTracker -
Field Summary
FieldsModifier and TypeFieldDescription(package private) List<org.apache.hadoop.hbase.HRegionLocation>(package private) final boolean[]Fields inherited from class org.apache.hadoop.hbase.client.TestAsyncProcess.MyConnectionImpl
nbThreadsFields inherited from class org.apache.hadoop.hbase.client.ConnectionImplementation
clusterId, clusterStatusListener, MASTER_STATE_CACHE_TIMEOUT_SEC, masterServiceState, RETRIES_BY_SERVER_KEY, rpcTimeout, userFields inherited from interface org.apache.hadoop.hbase.client.ClusterConnection
HBASE_CLIENT_CONNECTION_IMPL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMyConnectionImpl2(List<org.apache.hadoop.hbase.HRegionLocation> hrl, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.RegionLocationslocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) Methods inherited from class org.apache.hadoop.hbase.client.TestAsyncProcess.MyConnectionImpl
hasCellBlockSupportMethods inherited from class org.apache.hadoop.hbase.client.ConnectionImplementation
abort, cacheLocation, clearCaches, clearRegionCache, clearRegionCache, clearRegionLocationCache, close, finalize, getAdmin, getAdmin, getAdminForMaster, getAllBootstrapNodes, getAsyncProcess, getBackoffPolicy, getBufferedMutator, getBufferedMutator, getCachedLocation, getChoreService, getClient, getClusterId, getConfiguration, getConnectionConfiguration, getConnectionMetrics, getConnectionRegistry, getCurrentBatchPool, getCurrentMetaLookupPool, getHbck, getHbck, getLiveRegionServers, getMaster, getMasterServiceState, getNewRpcRetryingCallerFactory, getNonceGenerator, getNumberOfCachedRegionLocations, getRegionLocation, getRegionLocator, getRpcClient, getRpcControllerFactory, getRpcRetryingCallerFactory, getStatisticsTracker, getTable, getTableBuilder, getTableState, getUser, injectNonceGeneratorForTesting, isAborted, isClosed, isMasterRunning, isTableAvailable, isTableDisabled, isTableEnabled, locateRegion, locateRegion, locateRegion, locateRegions, locateRegions, masterConnectionStateSupplier, releaseMaster, relocateRegion, relocateRegion, retrieveClusterId, takeUserRegionLock, toString, updateCachedLocation, updateCachedLocationsMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.Abortable
abortMethods inherited from interface org.apache.hadoop.hbase.client.ClusterConnection
clearRegionCacheMethods inherited from interface org.apache.hadoop.hbase.client.Connection
getTable
-
Field Details
-
hrl
-
usedRegions
-
-
Constructor Details
-
MyConnectionImpl2
protected MyConnectionImpl2(List<org.apache.hadoop.hbase.HRegionLocation> hrl, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
-
Method Details
-
locateRegion
public org.apache.hadoop.hbase.RegionLocations locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) throws IOException - Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
locateRegionin classTestAsyncProcess.MyConnectionImpl- Throws:
IOException
-