public class CommonForkJoinPoolExecutorServices extends AbstractExecutorServices
ForkJoinPool.commonPool(). This ExecutorService implementation ignores threadPoolSize and threadPoolKeepAliveTime configuration
options.ExecutorServices.TaskFactory<T>| Constructor and Description |
|---|
CommonForkJoinPoolExecutorServices() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
ExecutorService |
getTaskExecutor() |
protected int |
getThreadPoolSize()
Indicates the maximum number of threads in this thread pool.
|
checkForExceptions, invokeAllAndCheckForExceptions, invokeAllAndCheckForExceptions, shutdownpublic ExecutorService getTaskExecutor()
public void cleanup()
Servicecleanup in interface Servicecleanup in class AbstractExecutorServicesprotected int getThreadPoolSize()
AbstractExecutorServicesgetThreadPoolSize in class AbstractExecutorServicesCopyright © 2015. All Rights Reserved.