Package edu.jas.util
Class PoolThread
java.lang.Object
java.lang.Thread
edu.jas.util.PoolThread
- All Implemented Interfaces:
Runnable
Implements one Thread of the pool.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final boolean
(package private) boolean
private static final org.apache.logging.log4j.Logger
(package private) ThreadPool
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
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 Details
-
pool
ThreadPool pool -
logger
private static final org.apache.logging.log4j.Logger logger -
debug
private static final boolean debug -
isWorking
volatile boolean isWorking
-
-
Constructor Details
-
PoolThread
- Parameters:
pool
- ThreadPool.
-
-
Method Details