final class FJWorker<T> extends AbstractForkJoinWorker<T>
Modifier and Type | Field and Description |
---|---|
private T[] |
args |
private groovy.lang.Closure |
code |
static java.lang.Object[] |
EMPTY_OBJECTS |
Constructor and Description |
---|
FJWorker(java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
protected T |
computeTask() |
(package private) void |
forkOffChild(java.lang.Object... childArgs) |
(package private) T |
runChildDirectly(java.lang.Object... childArgs) |
compute, forkOffChild, getChildrenResults
adapt, adapt, adapt, cancel, complete, completeExceptionally, fork, get, get, getException, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyInvoke, quietlyJoin, reinitialize, tryUnfork
private final groovy.lang.Closure code
private final T[] args
public static final java.lang.Object[] EMPTY_OBJECTS
void forkOffChild(java.lang.Object... childArgs)
T runChildDirectly(java.lang.Object... childArgs)
protected T computeTask()
computeTask
in class AbstractForkJoinWorker<T>