java.lang.Object
org.jboss.weld.executor.AbstractExecutorServices
org.jboss.weld.executor.CommonForkJoinPoolExecutorServices
io.helidon.microprofile.cdi.ExecutorServices
- All Implemented Interfaces:
Service,ExecutorServices
public final class ExecutorServices
extends org.jboss.weld.executor.CommonForkJoinPoolExecutorServices
A
CommonForkJoinPoolExecutorServices whose wrap(Collection) method simply returns the supplied Collection of Callables unchanged.
This class exists to work around WELD-2494, which, in turn, was working around JDK-8184335.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.weld.manager.api.ExecutorServices
ExecutorServices.TaskFactory<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Collection<? extends Callable<T>> wrap(Collection<? extends Callable<T>> tasks) Returns the suppliedtasksargument unchanged when invoked.Methods inherited from class org.jboss.weld.executor.CommonForkJoinPoolExecutorServices
cleanup, getTaskExecutor, getThreadPoolSizeMethods inherited from class org.jboss.weld.executor.AbstractExecutorServices
checkForExceptions, getTimerExecutor, invokeAllAndCheckForExceptions, invokeAllAndCheckForExceptions, shutdown
-
Constructor Details
-
ExecutorServices
public ExecutorServices()Creates a newExecutorServices.There is no reason for users to call this constructor.
-
-
Method Details
-
wrap
Returns the suppliedtasksargument unchanged when invoked.- Overrides:
wrapin classorg.jboss.weld.executor.CommonForkJoinPoolExecutorServices- Parameters:
tasks- aCollectionofCallables representing tasks that Weld needs to do; may benull- Returns:
- the supplied
tasksargument - See Also:
-