public class TestAsyncTableNoncedRetry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestAsyncTableNoncedRetry.SleepOnceCP |
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.AsyncConnection |
ASYNC_CONN |
private static AtomicInteger |
CALLED |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static byte[] |
QUALIFIER |
private byte[] |
row |
private static long |
SLEEP_TIME |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestAsyncTableNoncedRetry() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAppend() |
void |
testIncrement() |
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 byte[] QUALIFIER
private static byte[] VALUE
private static org.apache.hadoop.hbase.client.AsyncConnection ASYNC_CONN
public org.junit.rules.TestName testName
private byte[] row
private static AtomicInteger CALLED
private static long SLEEP_TIME
public TestAsyncTableNoncedRetry()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void setUp() throws IOException, InterruptedException
IOException
InterruptedException
public void testAppend() throws InterruptedException, ExecutionException
public void testIncrement() throws InterruptedException, ExecutionException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.