public abstract static class MultithreadedTestUtil.RepeatingTestThread extends MultithreadedTestUtil.TestThread
Thread.State, Thread.UncaughtExceptionHandlerctx, stoppedMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
RepeatingTestThread(MultithreadedTestUtil.TestContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doAnAction() |
void |
doWork() |
void |
workDone() |
run, 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, yieldpublic RepeatingTestThread(MultithreadedTestUtil.TestContext ctx)
public final void doWork() throws Exception
doWork in class MultithreadedTestUtil.TestThreadExceptionpublic abstract void doAnAction() throws Exception
Exceptionpublic void workDone() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.