public class TestRoundRobinPoolMap extends PoolMapTestBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
KEY_COUNT, POOL_SIZE, poolMap
Constructor and Description |
---|
TestRoundRobinPoolMap() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.util.PoolMap.PoolType |
getPoolType() |
void |
testGetOrCreate() |
void |
testMultipleKeys() |
void |
testMultipleValues() |
void |
testMultiThreadedRoundRobin() |
void |
testRoundRobin() |
setUp
public static final HBaseClassTestRule CLASS_RULE
public TestRoundRobinPoolMap()
protected org.apache.hadoop.hbase.util.PoolMap.PoolType getPoolType()
getPoolType
in class PoolMapTestBase
public void testGetOrCreate() throws IOException
IOException
public void testMultipleKeys() throws IOException
IOException
public void testMultipleValues() throws IOException
IOException
public void testRoundRobin() throws IOException
IOException
public void testMultiThreadedRoundRobin() throws ExecutionException, InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.