|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.openqa.jetty.util.ThreadPool.PoolThread
public static class ThreadPool.PoolThread
Pool Thread class. The PoolThread allows the threads job to be retrieved and active status to be indicated.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ThreadPool.PoolThread()
|
|
| Method Summary | |
|---|---|
void |
enterPool(Pool pool,
int id)
|
int |
getID()
|
void |
leavePool()
|
void |
poolClosing()
|
void |
run()
ThreadPool run. |
void |
run(ThreadPool pool,
java.lang.Object job)
|
java.lang.String |
toString()
|
| 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, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadPool.PoolThread()
| Method Detail |
|---|
public void enterPool(Pool pool,
int id)
enterPool in interface Pool.PondLifepublic int getID()
getID in interface Pool.PondLifepublic void poolClosing()
poolClosing in interface Pool.PondLifepublic void leavePool()
leavePool in interface Pool.PondLife
public void run(ThreadPool pool,
java.lang.Object job)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.lang.String toString()
toString in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||