public abstract class ForkJoinUtils
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
ForkJoinUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
runForkJoin(jsr166y.ForkJoinPool pool,
jsr166y.ForkJoinTask<T> rootWorker) |
static <T> T |
runForkJoin(jsr166y.ForkJoinPool pool,
java.lang.Object... args) |
public static <T> T runForkJoin(jsr166y.ForkJoinPool pool, jsr166y.ForkJoinTask<T> rootWorker) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public static <T> T runForkJoin(jsr166y.ForkJoinPool pool, java.lang.Object... args) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException