- 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
ACommonForkJoinPoolExecutorServices
whosewrap(Collection)
method simply returns the suppliedCollection
ofCallable
s unchanged.This class exists to work around WELD-2494, which, in turn, was working around JDK-8184335.
- See Also:
wrap(Collection)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.weld.manager.api.ExecutorServices
ExecutorServices.TaskFactory<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description ExecutorServices()
Creates a newExecutorServices
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Collection<? extends Callable<T>>
wrap(Collection<? extends Callable<T>> tasks)
Returns the suppliedtasks
argument unchanged when invoked.-
Methods inherited from class org.jboss.weld.executor.CommonForkJoinPoolExecutorServices
cleanup, getTaskExecutor, getThreadPoolSize
-
-
-
-
Constructor Detail
-
ExecutorServices
public ExecutorServices()
Creates a newExecutorServices
.There is no reason for users to call this constructor.
-
-
Method Detail
-
wrap
public <T> Collection<? extends Callable<T>> wrap(Collection<? extends Callable<T>> tasks)
Returns the suppliedtasks
argument unchanged when invoked.- Overrides:
wrap
in classorg.jboss.weld.executor.CommonForkJoinPoolExecutorServices
- Parameters:
tasks
- aCollection
ofCallable
s representing tasks that Weld needs to do; may benull
- Returns:
- the supplied
tasks
argument - See Also:
- WELD-2494
-
-