public class TestAsyncBufferMutator extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestAsyncBufferMutator.AsyncBufferMutatorForTest |
Modifier and Type | Field and Description |
---|---|
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.AsyncConnection |
CONN |
private static int |
COUNT |
private static byte[] |
CQ |
private static org.apache.hadoop.hbase.TableName |
MULTI_REGION_TABLE_NAME |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestAsyncBufferMutator() |
Modifier and Type | Method and Description |
---|---|
static void |
setUp() |
static void |
tearDown() |
private void |
test(org.apache.hadoop.hbase.TableName tableName) |
void |
testCancelPeriodicFlush() |
void |
testCancelPeriodicFlushByClose() |
void |
testCancelPeriodicFlushByManuallyFlush() |
void |
testClosedMutate() |
void |
testNoPeriodicFlush() |
void |
testPeriodicFlush() |
void |
testRaceBetweenNormalFlushAndPeriodicFlush() |
void |
testWithMultiRegionTable() |
void |
testWithSingleRegionTable() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static org.apache.hadoop.hbase.TableName MULTI_REGION_TABLE_NAME
private static byte[] CF
private static byte[] CQ
private static int COUNT
private static byte[] VALUE
private static org.apache.hadoop.hbase.client.AsyncConnection CONN
public TestAsyncBufferMutator()
public void testWithMultiRegionTable() throws InterruptedException
InterruptedException
public void testWithSingleRegionTable() throws InterruptedException
InterruptedException
private void test(org.apache.hadoop.hbase.TableName tableName) throws InterruptedException
InterruptedException
public void testClosedMutate() throws InterruptedException
InterruptedException
public void testNoPeriodicFlush() throws InterruptedException, ExecutionException
public void testPeriodicFlush() throws InterruptedException, ExecutionException
public void testCancelPeriodicFlush() throws InterruptedException, ExecutionException
public void testCancelPeriodicFlushByManuallyFlush() throws InterruptedException, ExecutionException
public void testCancelPeriodicFlushByClose() throws InterruptedException, ExecutionException
public void testRaceBetweenNormalFlushAndPeriodicFlush() throws InterruptedException, ExecutionException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.