Package fj.impl.executor
Class ExecutorForkJoin
java.lang.Object
fj.impl.AbstractForkJoin
fj.impl.executor.ExecutorForkJoin
- All Implemented Interfaces:
ForkJoin
- Author:
- Dennis Cosgrove
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> Future<T>
fork
(TaskSupplier<T> supplier) invokeAllAndGetAll
(Collection<? extends Callable<T>> tasks) toString()
Methods inherited from class fj.impl.AbstractForkJoin
fork_loop, fork_loop, fork_loop, fork_loop_with_index, fork_loop_with_index, join, join, join, join, join, join, join_fork_loop, join_fork_loop, join_fork_loop, join_fork_loop, join_fork_loop, join_fork_loop_with_index, join_fork_loop_with_index, join_fork_loop_with_index, join_void_fork_loop, join_void_fork_loop, join_void_fork_loop, join_void_fork_loop_2d, join_void_fork_loop_2d_auto_coarsen, join_void_fork_loop_auto_coarsen, join_void_fork_loop_with_index, join_void_fork_loop_with_index, void_fork, void_fork_loop, void_fork_loop, void_fork_loop, void_fork_loop_with_index, void_fork_loop_with_index
-
Constructor Details
-
ExecutorForkJoin
-
ExecutorForkJoin
public ExecutorForkJoin()
-
-
Method Details
-
fork
-
invokeAllAndGetAll
protected <T> List<Future<T>> invokeAllAndGetAll(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException - Specified by:
invokeAllAndGetAll
in classAbstractForkJoin
- Throws:
InterruptedException
ExecutionException
-
toString
-