public abstract class AbstractExecutorServices extends Object implements org.jboss.weld.manager.api.ExecutorServices
ExecutorServicesorg.jboss.weld.manager.api.ExecutorServices.TaskFactory<T>| Constructor and Description |
|---|
AbstractExecutorServices() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
protected abstract int |
getThreadPoolSize()
Indicates the maximum number of threads in this thread pool.
|
protected <T> List<Future<T>> |
checkForExceptions(List<Future<T>> futures) |
<T> List<Future<T>> |
invokeAllAndCheckForExceptions(Collection<? extends Callable<T>> tasks) |
<T> List<Future<T>> |
invokeAllAndCheckForExceptions(org.jboss.weld.manager.api.ExecutorServices.TaskFactory<T> factory) |
protected void |
shutdown() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTaskExecutorpublic <T> List<Future<T>> invokeAllAndCheckForExceptions(Collection<? extends Callable<T>> tasks)
invokeAllAndCheckForExceptions in interface org.jboss.weld.manager.api.ExecutorServicespublic <T> List<Future<T>> invokeAllAndCheckForExceptions(org.jboss.weld.manager.api.ExecutorServices.TaskFactory<T> factory)
invokeAllAndCheckForExceptions in interface org.jboss.weld.manager.api.ExecutorServicesprotected abstract int getThreadPoolSize()
public void cleanup()
cleanup in interface org.jboss.weld.bootstrap.api.Serviceprotected void shutdown()
Copyright © 2017. All rights reserved.