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
Modifier and TypeClassDescriptionprivate static class
static class
static class
static class
private static enum
private static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.Connection
private static final AtomicInteger
private static final byte[]
private static final int
private static final byte[]
private static final byte[]
private static final AtomicReference<TestCustomPriorityRpcControllerFactory.State>
private static org.apache.hadoop.hbase.client.Table
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
void
void
void
private void
void
void
void
void
void
void
void
-
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
-