Package org.apache.hadoop.hbase
Class AcidGuaranteesTestTool.AtomicScanReader
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.MultithreadedTestUtil.TestThread
org.apache.hadoop.hbase.MultithreadedTestUtil.RepeatingTestThread
org.apache.hadoop.hbase.AcidGuaranteesTestTool.AtomicScanReader
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- AcidGuaranteesTestTool
public static class AcidGuaranteesTestTool.AtomicScanReader
extends MultithreadedTestUtil.RepeatingTestThread
Thread that does full scans of the table looking for any partially completed rows.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.ThreadThread.State, Thread.UncaughtExceptionHandler
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) org.apache.hadoop.hbase.client.Connection(package private) AtomicLong(package private) AtomicLong(package private) org.apache.hadoop.hbase.client.Table(package private) byte[][]Fields inherited from class org.apache.hadoop.hbase.MultithreadedTestUtil.TestThreadctx, stoppedFields inherited from class java.lang.ThreadMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
- 
Constructor SummaryConstructorsConstructorDescriptionAtomicScanReader(MultithreadedTestUtil.TestContext ctx, byte[][] targetFamilies, ExecutorService pool) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidprivate voidgotFailure(byte[] expected, org.apache.hadoop.hbase.client.Result res) voidworkDone()Methods inherited from class org.apache.hadoop.hbase.MultithreadedTestUtil.RepeatingTestThreaddoWorkMethods inherited from class org.apache.hadoop.hbase.MultithreadedTestUtil.TestThreadrun, stopTestThreadMethods inherited from class java.lang.ThreadactiveCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
- 
Field Details- 
targetFamiliesbyte[][] targetFamilies
- 
tableorg.apache.hadoop.hbase.client.Table table
- 
connectionorg.apache.hadoop.hbase.client.Connection connection
- 
numScans
- 
numRowsScanned
 
- 
- 
Constructor Details- 
AtomicScanReaderpublic AtomicScanReader(MultithreadedTestUtil.TestContext ctx, byte[][] targetFamilies, ExecutorService pool) throws IOException - Throws:
- IOException
 
 
- 
- 
Method Details- 
doAnAction- Specified by:
- doAnActionin class- MultithreadedTestUtil.RepeatingTestThread
- Throws:
- Exception
 
- 
workDone- Overrides:
- workDonein class- MultithreadedTestUtil.RepeatingTestThread
- Throws:
- IOException
 
- 
gotFailure
 
-