public abstract class ParallelThread extends java.lang.Thread implements NamedParallelizableRunnable
Constructor and Description |
---|
ParallelThread() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute()
Defines the code to be executed.
|
void |
run() |
void |
setLatch(java.util.concurrent.CountDownLatch latch) |
activeCount, checkAccess, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProcessName
public void setLatch(java.util.concurrent.CountDownLatch latch)
setLatch
in interface ParallelizableRunnable
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public abstract void execute()