public class TestAsyncNonMetaRegionLocatorConcurrenyLimit extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestAsyncNonMetaRegionLocatorConcurrenyLimit.CountingRegionObserver  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static AtomicInteger | 
CONCURRENCY  | 
private static org.apache.hadoop.hbase.client.AsyncConnectionImpl | 
CONN  | 
private static byte[] | 
FAMILY  | 
private static org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | 
LOCATOR  | 
private static int | 
MAX_ALLOWED  | 
private static AtomicInteger | 
MAX_CONCURRENCY  | 
private static byte[][] | 
SPLIT_KEYS  | 
private static org.apache.hadoop.hbase.TableName | 
TABLE_NAME  | 
private static HBaseTestingUtility | 
TEST_UTIL  | 
| Constructor and Description | 
|---|
TestAsyncNonMetaRegionLocatorConcurrenyLimit()  | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
assertLocs(List<CompletableFuture<org.apache.hadoop.hbase.RegionLocations>> futures)  | 
static void | 
setUp()  | 
static void | 
tearDown()  | 
void | 
test()  | 
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static byte[] FAMILY
private static org.apache.hadoop.hbase.client.AsyncConnectionImpl CONN
private static org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator LOCATOR
private static byte[][] SPLIT_KEYS
private static int MAX_ALLOWED
private static AtomicInteger CONCURRENCY
private static AtomicInteger MAX_CONCURRENCY
public TestAsyncNonMetaRegionLocatorConcurrenyLimit()
private void assertLocs(List<CompletableFuture<org.apache.hadoop.hbase.RegionLocations>> futures) throws InterruptedException, ExecutionException
public void test() throws InterruptedException, ExecutionException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.