groovyx.gpars.forkjoin
[Java] Class FJWorker
java.lang.Object
jsr166y.RecursiveTask
groovyx.gpars.forkjoin.AbstractForkJoinWorker
groovyx.gpars.forkjoin.FJWorker
@SuppressWarnings({"unchecked"})
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
@Override
protected java.lang.Object computeTask()
-
forkOffChild
@SuppressWarnings({"MethodOverloadsMethodOfSuperclass", "OverloadedVarargsMethod"})
void forkOffChild(java.lang.Object... childArgs)
-
runChildDirectly
@SuppressWarnings({"MethodOverloadsMethodOfSuperclass", "OverloadedVarargsMethod"})
java.lang.Object runChildDirectly(java.lang.Object... childArgs)
-
Copyright © 2008–2012 Václav Pech. All Rights Reserved.