|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkExecutorPool
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 java.util.concurrent.Executor |
---|
execute |
Method Detail |
---|
int getPoolSize()
int getMaximumPoolSize()
void setMaximumPoolSize(int aSize)
aSize
- Maximum size.WorkExecutorPool start()
WorkExecutorPool stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |