|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThreadPool
ThreadPool.
| Nested Class Summary | |
|---|---|
static interface |
ThreadPool.SizedThreadPool
|
| Method Summary | |
|---|---|
boolean |
dispatch(Runnable job)
|
int |
getIdleThreads()
|
int |
getThreads()
|
boolean |
isLowOnThreads()
|
void |
join()
Blocks until the thread pool is stopped. |
| Method Detail |
|---|
boolean dispatch(Runnable job)
void join()
throws InterruptedException
stopped.
InterruptedExceptionint getThreads()
int getIdleThreads()
boolean isLowOnThreads()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||