public class TestRpcControllerFactory extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestRpcControllerFactory.CountingRpcController  | 
static class  | 
TestRpcControllerFactory.StaticRpcControllerFactory  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
org.junit.rules.TestName | 
name  | 
private static HBaseTestingUtility | 
UTIL  | 
| Constructor and Description | 
|---|
TestRpcControllerFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
(package private) int | 
doScan(org.apache.hadoop.hbase.client.Table table,
      org.apache.hadoop.hbase.client.Scan scan,
      int expectedCount)  | 
static void | 
setup()  | 
static void | 
teardown()  | 
void | 
testCountController()
check some of the methods and make sure we are incrementing each time. 
 | 
void | 
testFallbackToDefaultRpcControllerFactory()  | 
(package private) int | 
verifyCount(Integer counter)  | 
(package private) void | 
verifyPriorityGroupCount(int priorityLevel,
                        int count)  | 
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
public org.junit.rules.TestName name
public TestRpcControllerFactory()
public void testCountController() throws Exception
Exception - on failureint doScan(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.client.Scan scan, int expectedCount) throws IOException
IOExceptionint verifyCount(Integer counter)
void verifyPriorityGroupCount(int priorityLevel, int count)
public void testFallbackToDefaultRpcControllerFactory()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.