|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.apache.catalina.tribes.transport.WorkerThread
public abstract 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 int |
OPTION_DIRECT_BUFFER
|
protected boolean |
useBufferPool
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
WorkerThread(ListenCallback callback)
|
Method Summary | |
---|---|
void |
close()
|
ListenCallback |
getCallback()
|
int |
getOptions()
|
ThreadPool |
getPool()
|
boolean |
getUseBufferPool()
|
boolean |
isDoRun()
|
void |
setCallback(ListenCallback callback)
|
void |
setDoRun(boolean doRun)
|
void |
setOptions(int options)
|
void |
setPool(ThreadPool pool)
|
void |
setUseBufferPool(boolean usebufpool)
|
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, run, 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 int OPTION_DIRECT_BUFFER
protected boolean useBufferPool
Constructor Detail |
---|
public WorkerThread(ListenCallback callback)
Method Detail |
---|
public void setPool(ThreadPool pool)
public void setOptions(int options)
public void setCallback(ListenCallback callback)
public void setDoRun(boolean doRun)
public ThreadPool getPool()
public int getOptions()
public ListenCallback getCallback()
public boolean isDoRun()
public void close()
public void setUseBufferPool(boolean usebufpool)
public boolean getUseBufferPool()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |