public class TestCustomPriorityRpcControllerFactory extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestCustomPriorityRpcControllerFactory.PriorityController |
static class |
TestCustomPriorityRpcControllerFactory.PriorityRegionServer |
static class |
TestCustomPriorityRpcControllerFactory.PriorityRpcControllerFactory |
static class |
TestCustomPriorityRpcControllerFactory.PriorityRpcServices |
private static class |
TestCustomPriorityRpcControllerFactory.State |
private static interface |
TestCustomPriorityRpcControllerFactory.ThrowingCallable |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.Connection |
CONN |
private static AtomicInteger |
EXPECTED_PRIORITY |
private static byte[] |
FAMILY |
private static int |
MIN_CUSTOM_PRIORITY |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW |
private static AtomicReference<TestCustomPriorityRpcControllerFactory.State> |
STATE |
private static org.apache.hadoop.hbase.client.Table |
TABLE |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtil |
UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestCustomPriorityRpcControllerFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpClass() |
void |
testAppendPriority() |
void |
testCheckAndMutatePriority() |
void |
testDeletePriority() |
void |
testExistsPriority() |
private void |
testForCall(TestCustomPriorityRpcControllerFactory.ThrowingCallable callable) |
void |
testIncrementPriority() |
void |
testMultiGetsPriority() |
void |
testMultiPutsPriority() |
void |
testMutatePriority() |
void |
testPutPriority() |
void |
testScanPriority() |
void |
tetGetPriority() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil UTIL
private static final AtomicReference<TestCustomPriorityRpcControllerFactory.State> STATE
private static final AtomicInteger EXPECTED_PRIORITY
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] FAMILY
private static final byte[] ROW
private static final byte[] QUALIFIER
private static final byte[] VALUE
private static final int MIN_CUSTOM_PRIORITY
private static org.apache.hadoop.hbase.client.Connection CONN
private static org.apache.hadoop.hbase.client.Table TABLE
public TestCustomPriorityRpcControllerFactory()
public static void setUpClass() throws Exception
Exception
public void tetGetPriority() throws Exception
Exception
public void testDeletePriority() throws Exception
Exception
public void testIncrementPriority() throws Exception
Exception
public void testAppendPriority() throws Exception
Exception
public void testPutPriority() throws Exception
Exception
public void testExistsPriority() throws Exception
Exception
public void testMutatePriority() throws Exception
Exception
public void testCheckAndMutatePriority() throws Exception
Exception
public void testMultiGetsPriority() throws Exception
Exception
public void testMultiPutsPriority() throws Exception
Exception
public void testScanPriority() throws Exception
Exception
private void testForCall(TestCustomPriorityRpcControllerFactory.ThrowingCallable callable) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.