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.ThreadImplements one local part of the distributed thread.
-
-
Field Summary
Fields Modifier and Type Field Description private static booleandebug(package private) ExecutableChannelsecprivate static org.apache.logging.log4j.Loggerlogger(package private) intmyId(package private) DistThreadPoolpool(package private) booleanworking
-
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 voidrun()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.
-
-