public abstract static class MultithreadedTestUtil.RepeatingTestThread extends MultithreadedTestUtil.TestThread
Thread.State, Thread.UncaughtExceptionHandler
ctx, stopped
MAX_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, 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
public RepeatingTestThread(MultithreadedTestUtil.TestContext ctx)
public final void doWork() throws Exception
doWork
in class MultithreadedTestUtil.TestThread
Exception
public abstract void doAnAction() throws Exception
Exception
public void workDone() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.