public interface WorkExecutorPool extends Executor
Modifier and Type | Method and Description |
---|---|
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() |
int getPoolSize()
int getMaximumPoolSize()
void setMaximumPoolSize(int aSize)
aSize
- Maximum size.WorkExecutorPool start()
WorkExecutorPool stop()
Copyright © 2015. All rights reserved.