Package org.apache.hadoop.hbase.client
Class AbstractTestAsyncTableRegionReplicasRead
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
- Direct Known Subclasses:
TestAsyncTableRegionReplicasGet,TestAsyncTableRegionReplicasScan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.hadoop.hbase.client.AsyncConnectionprotected static booleanprotected static byte[]Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>>protected static byte[]protected static intprotected static ConcurrentMap<Integer,AtomicInteger> protected static byte[]protected static org.apache.hadoop.hbase.TableNameprotected static final HBaseTestingUtilityorg.junit.rules.TestNameprotected static byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanallReplicasHaveRow(byte[] row) protected static intprivate static org.apache.hadoop.hbase.client.AsyncTable<?>protected static intprivate static org.apache.hadoop.hbase.client.AsyncTable<?>getTable()params()protected abstract voidreadAndCheck(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) protected static voidstatic voidvoidvoidvoidprotected static voidwaitUntilAllReplicasHaveRow(byte[] row)
-
Field Details
-
TEST_UTIL
-
TABLE_NAME
-
FAMILY
-
QUALIFIER
-
ROW
-
VALUE
-
REPLICA_COUNT
-
ASYNC_CONN
-
testName
-
getTable
-
FAIL_PRIMARY_GET
-
REPLICA_ID_TO_COUNT
-
-
Constructor Details
-
AbstractTestAsyncTableRegionReplicasRead
-
-
Method Details
-
getRawTable
-
getTable
-
params
-
allReplicasHaveRow
- Throws:
IOException
-
startClusterAndCreateTable
- Throws:
Exception
-
waitUntilAllReplicasHaveRow
- Throws:
IOException
-
tearDownAfterClass
- Throws:
Exception
-
getSecondaryGetCount
-
getPrimaryGetCount
-
readAndCheck
protected abstract void readAndCheck(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) throws Exception - Throws:
Exception
-
testNoReplicaRead
- Throws:
Exception
-
testReplicaRead
- Throws:
Exception
-
testReadSpecificReplica
- Throws:
Exception
-