API:
Method Summary | |
---|---|
void |
afterPropertiesSet() Calls initialize() after the container applied all property values. |
protected edu.emory.mathcs.backport.java.util.concurrent.BlockingQueue |
createQueue(int queueCapacity) Create the BlockingQueue to use for the ThreadPoolExecutor. |
void |
destroy() Calls shutdown when the BeanFactory destroys the task executor instance. |
void |
execute(Runnable task) Implementation of both the JSR-166 backport Executor interface and the Spring TaskExecutor interface, delegating to the ThreadPoolExecutor instance. |
void |
execute(Runnable task, long startTimeout) Execute the given task . |
int |
getActiveCount() Return the number of currently active threads. |
int |
getCorePoolSize() Return the ThreadPoolExecutor's core pool size. |