|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the operations that a pool in charge of the execution of Work instances must expose.
Method Summary | |
int |
getMaximumPoolSize()
Gets the maximum number of threads to simultaneously execute. |
int |
getPoolSize()
Gets the current number of active threads in the pool. |
void |
setMaximumPoolSize(int aSize)
Sets the maximum number of threads to simultaneously execute. |
WorkExecutorPool |
start()
|
WorkExecutorPool |
stop()
|
Methods inherited from interface EDU.oswego.cs.dl.util.concurrent.Executor |
execute |
Method Detail |
public int getPoolSize()
public int getMaximumPoolSize()
public void setMaximumPoolSize(int aSize)
aSize
- Maximum size.public WorkExecutorPool start()
public WorkExecutorPool stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |