public abstract class AbstractExecutorServices extends Object implements org.jboss.weld.manager.api.ExecutorServices
ExecutorServices
.Constructor and Description |
---|
AbstractExecutorServices() |
Modifier and Type | Method and Description |
---|---|
protected <T> List<Future<T>> |
checkForExceptions(List<Future<T>> futures) |
void |
cleanup() |
protected abstract int |
getThreadPoolSize() |
<T> List<Future<T>> |
invokeAllAndCheckForExceptions(Collection<? extends Callable<T>> tasks) |
<T> List<Future<T>> |
invokeAllAndCheckForExceptions(org.jboss.weld.manager.api.ExecutorServices.TaskFactory<T> factory) |
public <T> List<Future<T>> invokeAllAndCheckForExceptions(Collection<? extends Callable<T>> tasks)
invokeAllAndCheckForExceptions
in interface org.jboss.weld.manager.api.ExecutorServices
public <T> List<Future<T>> invokeAllAndCheckForExceptions(org.jboss.weld.manager.api.ExecutorServices.TaskFactory<T> factory)
invokeAllAndCheckForExceptions
in interface org.jboss.weld.manager.api.ExecutorServices
public void cleanup()
cleanup
in interface org.jboss.weld.bootstrap.api.Service
protected abstract int getThreadPoolSize()
Copyright © 2016. All rights reserved.