Package org.apache.hadoop.hbase.client
Class TestAsyncTableRegionReplicasGet
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
org.apache.hadoop.hbase.client.TestAsyncTableRegionReplicasGet
@Tag("org.apache.hadoop.hbase.testclassification.MediumTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncTableRegionReplicasGet
extends AbstractTestAsyncTableRegionReplicasRead
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
AbstractTestAsyncTableRegionReplicasRead.FailPrimaryGetCP -
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
ASYNC_CONN, FAIL_PRIMARY_GET, FAMILY, getTable, QUALIFIER, REPLICA_COUNT, REPLICA_ID_TO_COUNT, ROW, TABLE_NAME, TEST_UTIL, VALUE -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncTableRegionReplicasGet(Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>> getTable) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadAndCheck(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) static voidMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
getPrimaryGetCount, getRawTable, getSecondaryGetCount, getTable, parameters, startClusterAndCreateTable, tearDownAfterClass, testNoReplicaRead, testReadSpecificReplica, testReplicaRead, waitUntilAllReplicasHaveRow
-
Constructor Details
-
TestAsyncTableRegionReplicasGet
public TestAsyncTableRegionReplicasGet(Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>> getTable)
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
readAndCheck
protected void readAndCheck(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) throws Exception - Specified by:
readAndCheckin classAbstractTestAsyncTableRegionReplicasRead- Throws:
Exception
-