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() |
checkForExceptions, invokeAllAndCheckForExceptions, invokeAllAndCheckForExceptionspublic ExecutorService getTaskExecutor()
public void cleanup()
Serviceprotected int getThreadPoolSize()
getThreadPoolSize in class AbstractExecutorServicesCopyright © 2015. All Rights Reserved.