Package graphql.util
Class TreeParallelTraverser.EnterAction
java.lang.Object
java.util.concurrent.ForkJoinTask
java.util.concurrent.CountedCompleter
graphql.util.TreeParallelTraverser.EnterAction
- All Implemented Interfaces:
Serializable,Future
- Enclosing class:
TreeParallelTraverser<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DefaultTraverserContextprivate TraverserVisitor<? super T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEnterAction(CountedCompleter parent, DefaultTraverserContext currentContext, TraverserVisitor<? super T> visitor) -
Method Summary
Methods inherited from class java.util.concurrent.CountedCompleter
addToPendingCount, compareAndSetPendingCount, complete, decrementPendingCountUnlessZero, exec, firstComplete, getCompleter, getPendingCount, getRawResult, getRoot, helpComplete, nextComplete, onCompletion, onExceptionalCompletion, propagateCompletion, quietlyCompleteRoot, setPendingCount, setRawResult, tryCompleteMethods inherited from class java.util.concurrent.ForkJoinTask
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
-
Field Details
-
currentContext
-
visitor
-
-
Constructor Details
-
EnterAction
private EnterAction(CountedCompleter parent, DefaultTraverserContext currentContext, TraverserVisitor<? super T> visitor)
-
-
Method Details
-
compute
public void compute()- Specified by:
computein classCountedCompleter
-