Package org.apache.hadoop.hbase.client
Class TestAsyncTableRpcPriority
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncTableRpcPriority
Confirm that we will set the priority in
HBaseRpcController for several table operations.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate org.apache.hadoop.hbase.client.AsyncConnectionorg.junit.rules.TestNameprivate org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interfaceprivate ExecutorService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.ipc.HBaseRpcControllerassertPriority(int priority) private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequestprivate CompletableFuture<Void>mockScanReturnRenewFuture(int scanPriority) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprivate voidtestForTable(org.apache.hadoop.hbase.TableName tableName, CompletableFuture<Void> renewFuture, Optional<Integer> priority) voidtestGet()voidvoidvoidvoidvoidvoidvoidvoidtestPut()voidvoidvoidvoidtestScan()voidvoidvoid
-
Field Details
-
CLASS_RULE
-
CONF
-
stub
-
threadPool
-
conn
-
name
-
-
Constructor Details
-
TestAsyncTableRpcPriority
public TestAsyncTableRpcPriority()
-
-
Method Details
-
setUp
- Throws:
IOException
-
assertPriority
-
assertScannerCloseRequest
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest assertScannerCloseRequest() -
testGet
-
testGetNormalTable
-
testGetSystemTable
-
testGetMetaTable
-
testPut
-
testPutNormalTable
-
testPutSystemTable
-
testPutMetaTable
-
testDelete
-
testDeleteNormalTable
-
testDeleteSystemTable
-
testDeleteMetaTable
-
testAppend
-
testAppendNormalTable
-
testAppendSystemTable
-
testAppendMetaTable
-
testIncrement
-
testIncrementNormalTable
-
testIncrementSystemTable
-
testIncrementMetaTable
-
testCheckAndPut
-
testCheckAndPutNormalTable
-
testCheckAndPutSystemTable
-
testCheckAndPutMetaTable
-
testCheckAndDelete
-
testCheckAndDeleteNormalTable
-
testCheckAndDeleteSystemTable
-
testCheckAndDeleteMetaTable
-
testCheckAndMutate
- Throws:
IOException
-
testCheckAndMutateNormalTable
- Throws:
IOException
-
testCheckAndMutateSystemTable
- Throws:
IOException
-
testCheckAndMutateMetaTable
- Throws:
IOException
-
mockScanReturnRenewFuture
-
testScan
- Throws:
Exception
-
testScanNormalTable
- Throws:
Exception
-
testScanSystemTable
- Throws:
Exception
-
testScanMetaTable
- Throws:
Exception
-
testForTable
private void testForTable(org.apache.hadoop.hbase.TableName tableName, CompletableFuture<Void> renewFuture, Optional<Integer> priority) throws Exception - Throws:
Exception
-
testBatchNormalTable
-
testBatchSystemTable
-
testBatchMetaTable
-