public static class AcidGuaranteesTestTool.AtomicityWriter extends MultithreadedTestUtil.RepeatingTestThread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description | 
|---|---|
(package private) org.apache.hadoop.hbase.client.Connection | 
connection  | 
(package private) byte[] | 
data  | 
(package private) AtomicLong | 
numWritten  | 
(package private) Random | 
rand  | 
(package private) org.apache.hadoop.hbase.client.Table | 
table  | 
(package private) byte[][] | 
targetFamilies  | 
(package private) byte[][] | 
targetRows  | 
ctx, stoppedMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
AtomicityWriter(MultithreadedTestUtil.TestContext ctx,
               byte[][] targetRows,
               byte[][] targetFamilies,
               ExecutorService pool)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doAnAction()  | 
void | 
workDone()  | 
doWorkrun, stopTestThreadactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldbyte[] data
byte[][] targetRows
byte[][] targetFamilies
org.apache.hadoop.hbase.client.Connection connection
org.apache.hadoop.hbase.client.Table table
AtomicLong numWritten
public AtomicityWriter(MultithreadedTestUtil.TestContext ctx, byte[][] targetRows, byte[][] targetFamilies, ExecutorService pool) throws IOException
IOExceptionpublic void doAnAction() throws Exception
doAnAction in class MultithreadedTestUtil.RepeatingTestThreadExceptionpublic void workDone() throws IOException
workDone in class MultithreadedTestUtil.RepeatingTestThreadIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.