|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Management interface for thread pools
| Method Summary | |
void |
execute(String consumerName,
Runnable runnable)
Executes work on behalf of a named client. |
int |
getPoolSize()
Gets the maximum number of threads allowed for this thread pool |
| Method Detail |
public int getPoolSize()
public void execute(String consumerName,
Runnable runnable)
throws InterruptedException
consumerName - A name identifying the caller, to be used in
the management statistics for this pool, etc.runnable - The work to be done by a thread in the pool
InterruptedException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||