public static class AcidGuaranteesTestTool.AtomicGetReader extends MultithreadedTestUtil.RepeatingTestThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.hbase.client.Connection |
connection |
(package private) AtomicLong |
numRead |
(package private) int |
numVerified |
(package private) org.apache.hadoop.hbase.client.Table |
table |
(package private) byte[][] |
targetFamilies |
(package private) byte[] |
targetRow |
ctx, stopped
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AtomicGetReader(MultithreadedTestUtil.TestContext ctx,
byte[] targetRow,
byte[][] targetFamilies,
ExecutorService pool) |
Modifier and Type | Method and Description |
---|---|
void |
doAnAction() |
private void |
gotFailure(byte[] expected,
org.apache.hadoop.hbase.client.Result res) |
void |
workDone() |
doWork
run, stopTestThread
activeCount, 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, yield
byte[] targetRow
byte[][] targetFamilies
org.apache.hadoop.hbase.client.Connection connection
org.apache.hadoop.hbase.client.Table table
int numVerified
AtomicLong numRead
public AtomicGetReader(MultithreadedTestUtil.TestContext ctx, byte[] targetRow, byte[][] targetFamilies, ExecutorService pool) throws IOException
IOException
public void doAnAction() throws Exception
doAnAction
in class MultithreadedTestUtil.RepeatingTestThread
Exception
public void workDone() throws IOException
workDone
in class MultithreadedTestUtil.RepeatingTestThread
IOException
private void gotFailure(byte[] expected, org.apache.hadoop.hbase.client.Result res)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.