public class TestAtomicOperation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestAtomicOperation.AtomicOperation |
static class |
TestAtomicOperation.Incrementer
A thread that makes increment calls always on the same row, this.row against two column
families on this row.
|
static class |
TestAtomicOperation.MockHRegion |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestAtomicOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
teardown() |
void |
testAppend()
Test basic append operation.
|
void |
testAppendMultiThreads() |
void |
testAppendWithNonExistingFamily() |
void |
testIncrementMultiThreads()
Test multi-threaded increments.
|
void |
testIncrementWithNonExistingFamily() |
void |
testMultiRowMutationMultiThreads()
Test multi-threaded region mutations.
|
void |
testPutAndCheckAndPutInParallel()
Test written as a verifier for HBASE-7051, CheckAndPut should properly read
MVCC.
|
void |
testRowMutationMultiThreads()
Test multi-threaded row mutations.
|
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestAtomicOperation()
public void setup()
public void teardown() throws IOException
IOExceptionpublic void testAppend() throws IOException
IOExceptionTestFromClientSide.testAppend()public void testAppendWithNonExistingFamily() throws IOException
IOExceptionpublic void testIncrementWithNonExistingFamily() throws IOException
IOExceptionpublic void testIncrementMultiThreads() throws IOException
IOExceptionpublic void testAppendMultiThreads() throws IOException
IOExceptionpublic void testRowMutationMultiThreads() throws IOException
IOExceptionpublic void testMultiRowMutationMultiThreads() throws IOException
IOExceptionpublic void testPutAndCheckAndPutInParallel() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.