public class TestAtomicOperation
extends java.lang.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 |
|---|---|
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 |
testIncrementMultiThreads()
Test multi-threaded increments.
|
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 void setup()
public void teardown()
throws java.io.IOException
java.io.IOExceptionpublic void testAppend()
throws java.io.IOException
java.io.IOExceptionTestFromClientSide.testAppend()public void testIncrementMultiThreads()
throws java.io.IOException
java.io.IOExceptionpublic void testAppendMultiThreads()
throws java.io.IOException
java.io.IOExceptionpublic void testRowMutationMultiThreads()
throws java.io.IOException
java.io.IOExceptionpublic void testMultiRowMutationMultiThreads()
throws java.io.IOException
java.io.IOExceptionpublic void testPutAndCheckAndPutInParallel()
throws java.lang.Exception
java.lang.Exception