groovyx.gpars.forkjoin
[Java] Class FJWorker
java.lang.Object
jsr166y.RecursiveTask
groovyx.gpars.forkjoin.AbstractForkJoinWorker
groovyx.gpars.forkjoin.FJWorker
@java.lang.SuppressWarnings({"MethodOverloadsMethodOfSuperclass", "OverloadedVarargsMethod"})
final class FJWorker
extends AbstractForkJoinWorker
Represents a recursive task for the builder-style fork/join algorithm.
- Authors:
- Vaclav Pech
Field Summary |
static java.lang.Object[] |
EMPTY_OBJECTS
|
private java.lang.Object[] |
args
|
private groovy.lang.Closure |
code
|
Constructor Summary |
FJWorker(java.lang.Object... args)
|
EMPTY_OBJECTS
public static final java.lang.Object[] EMPTY_OBJECTS
-
args
private final java.lang.Object[] args
-
code
private final groovy.lang.Closure code
-
FJWorker
FJWorker(java.lang.Object... args)
-
computeTask
@java.lang.Override
protected java.lang.Object computeTask()
-
forkOffChild
@java.lang.SuppressWarningsSystem.arraycopy(childArgs, 0, params, 0, childArgs.length);
void forkOffChild(java.lang.Object... childArgs)
-
runChildDirectly
@java.lang.SuppressWarnings
java.lang.Object runChildDirectly(java.lang.Object... childArgs)
-
Copyright © 2008–2013 Václav Pech. All Rights Reserved.