public static class ThreadPool.PoolThread extends Thread implements Pool.PondLife
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ThreadPool.PoolThread() |
| Modifier and Type | Method and Description |
|---|---|
void |
enterPool(Pool pool,
int id) |
int |
getID() |
void |
leavePool() |
void |
poolClosing() |
void |
run()
ThreadPool run.
|
void |
run(ThreadPool pool,
Object job) |
String |
toString() |
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, yieldpublic 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.PondLifepublic void run(ThreadPool pool, Object job)
public void run()
Copyright © 2013. All rights reserved.