|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.ibm.xcap.client.WorkerThread
public class WorkerThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME
Classname |
protected boolean |
destroy
Boolean that determines if a thread should remain alive * |
static java.util.logging.Logger |
LOGGER
Logger for this class |
protected java.lang.Runnable |
task
Runnable * |
protected WorkerThreadPool |
threadPool
Reference to the threadPool this thread blongs to * |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
WorkerThread()
|
Method Summary | |
---|---|
void |
kill()
|
void |
run()
|
void |
setTask(java.lang.Runnable task)
|
void |
setThreadPool(WorkerThreadPool threadPool)
|
Methods inherited from class java.lang.Thread |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASSNAME
public static final java.util.logging.Logger LOGGER
protected boolean destroy
protected java.lang.Runnable task
protected WorkerThreadPool threadPool
Constructor Detail |
---|
public WorkerThread()
Method Detail |
---|
public void setThreadPool(WorkerThreadPool threadPool)
public void setTask(java.lang.Runnable task)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void kill()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |