Package org.apache.hadoop.hbase
Class MultithreadedTestUtil.RepeatingTestThread
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.MultithreadedTestUtil.TestThread
org.apache.hadoop.hbase.MultithreadedTestUtil.RepeatingTestThread
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
AcidGuaranteesTestTool.AtomicGetReader
,AcidGuaranteesTestTool.AtomicityWriter
,AcidGuaranteesTestTool.AtomicScanReader
,TestHRegionServerBulkLoad.AtomicHFileLoader
,TestHRegionServerBulkLoad.AtomicScanReader
,TestHRegionServerBulkLoadWithOldClient.AtomicHFileLoader
- Enclosing class:
- MultithreadedTestUtil
public abstract static class MultithreadedTestUtil.RepeatingTestThread
extends MultithreadedTestUtil.TestThread
A test thread that performs a repeating operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.MultithreadedTestUtil.TestThread
ctx, stopped
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.MultithreadedTestUtil.TestThread
run, stopTestThread
Methods inherited from class java.lang.Thread
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
-
Constructor Details
-
RepeatingTestThread
-
-
Method Details
-
doWork
- Specified by:
doWork
in classMultithreadedTestUtil.TestThread
- Throws:
Exception
-
doAnAction
- Throws:
Exception
-
workDone
- Throws:
IOException
-