public abstract static class MultithreadedTestUtil.TestThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected MultithreadedTestUtil.TestContext |
ctx |
protected boolean |
stopped |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
TestThread(MultithreadedTestUtil.TestContext ctx) |
Modifier and Type | Method and Description |
---|---|
abstract void |
doWork() |
void |
run() |
protected void |
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
protected final MultithreadedTestUtil.TestContext ctx
protected boolean stopped
public TestThread(MultithreadedTestUtil.TestContext ctx)