Package org.apache.hadoop.hbase
Class TestCustomPriorityRpcControllerFactory
java.lang.Object
org.apache.hadoop.hbase.TestCustomPriorityRpcControllerFactory
Tests that one can implement their own RpcControllerFactory and expect it to successfully pass
custom priority values to the server for all HTable calls.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classstatic classstatic classstatic classprivate static enumprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.Connectionprivate static final AtomicIntegerprivate static final byte[]private static final intprivate static final byte[]private static final byte[]private static final AtomicReference<TestCustomPriorityRpcControllerFactory.State>private static org.apache.hadoop.hbase.client.Tableprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilprivate static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidvoidvoidvoidprivate voidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
UTIL
-
STATE
-
EXPECTED_PRIORITY
-
TABLE_NAME
-
FAMILY
-
ROW
-
QUALIFIER
-
VALUE
-
MIN_CUSTOM_PRIORITY
- See Also:
-
CONN
-
TABLE
-
-
Constructor Details
-
TestCustomPriorityRpcControllerFactory
-
-
Method Details
-
setUpClass
- Throws:
Exception
-
tetGetPriority
- Throws:
Exception
-
testDeletePriority
- Throws:
Exception
-
testIncrementPriority
- Throws:
Exception
-
testAppendPriority
- Throws:
Exception
-
testPutPriority
- Throws:
Exception
-
testExistsPriority
- Throws:
Exception
-
testMutatePriority
- Throws:
Exception
-
testCheckAndMutatePriority
- Throws:
Exception
-
testMultiGetsPriority
- Throws:
Exception
-
testMultiPutsPriority
- Throws:
Exception
-
testScanPriority
- Throws:
Exception
-
testForCall
private void testForCall(TestCustomPriorityRpcControllerFactory.ThrowingCallable callable) throws Exception - Throws:
Exception
-