Package edu.jas.util
Class DistPoolThread
- java.lang.Object
-
- java.lang.Thread
-
- edu.jas.util.DistPoolThread
-
- All Implemented Interfaces:
java.lang.Runnable
class DistPoolThread extends java.lang.Thread
Implements one local part of the distributed thread.
-
-
Field Summary
Fields Modifier and Type Field Description private static boolean
debug
(package private) ExecutableChannels
ec
private static org.apache.logging.log4j.Logger
logger
(package private) int
myId
(package private) DistThreadPool
pool
(package private) boolean
working
-
Constructor Summary
Constructors Constructor Description DistPoolThread(DistThreadPool pool, ExecutableChannels ec, int i)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Run the thread.-
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
-
-
-
-
Field Detail
-
pool
final DistThreadPool pool
-
ec
final ExecutableChannels ec
-
myId
final int myId
-
logger
private static final org.apache.logging.log4j.Logger logger
-
debug
private static final boolean debug
-
working
boolean working
-
-
Constructor Detail
-
DistPoolThread
public DistPoolThread(DistThreadPool pool, ExecutableChannels ec, int i)
- Parameters:
pool
- DistThreadPool.
-
-