Class WriteHeavyIncrementObserverTestBase
java.lang.Object
org.apache.hadoop.hbase.coprocessor.example.WriteHeavyIncrementObserverTestBase
- Direct Known Subclasses:
TestWriteHeavyIncrementObserver
,TestWriteHeavyIncrementObserverWithMemStoreCompaction
-
Field Summary
Modifier and TypeFieldDescriptionprotected static byte[]
protected static byte[]
protected static byte[]
protected static org.apache.hadoop.hbase.TableName
protected static byte[]
protected static org.apache.hadoop.hbase.client.Table
protected static int
protected static long
protected static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
protected final void
doIncrement
(int sleepSteps) private static void
increment
(int sleepSteps) static void
setUp()
static void
tearDown()
-
Field Details
-
UTIL
-
NAME
-
FAMILY
-
ROW
-
CQ1
-
CQ2
-
TABLE
-
UPPER
-
THREADS
-
-
Constructor Details
-
WriteHeavyIncrementObserverTestBase
public WriteHeavyIncrementObserverTestBase()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
increment
- Throws:
IOException
-
assertSum
- Throws:
IOException
-
doIncrement
- Throws:
InterruptedException
-