Contents
Class ParallelTask<D extends IntConsumer>
- All Implemented Interfaces:
Serializable, Future<Void>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
ConstructorsConstructorDescriptionParallelTask(CountedCompleter<?> completer, Supplier<D> supplier) ParallelTask(Supplier<D> supplier) -
Method Summary
Methods inherited from class CountedCompleter
addToPendingCount, compareAndSetPendingCount, complete, decrementPendingCountUnlessZero, firstComplete, getCompleter, getPendingCount, getRawResult, getRoot, helpComplete, nextComplete, onCompletion, onExceptionalCompletion, propagateCompletion, quietlyCompleteRoot, setPendingCount, tryCompleteMethods inherited from class ForkJoinTask
adapt, adapt, adapt, adaptInterruptible, adaptInterruptible, adaptInterruptible, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, exceptionNow, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, quietlyComplete, quietlyInvoke, quietlyJoin, quietlyJoin, quietlyJoinUninterruptibly, resultNow, setForkJoinTaskTag, state, tryUnfork
-
Constructor Details
-
ParallelTask
-
ParallelTask
-
-
Method Details
-
reinitialize
public void reinitialize()- Overrides:
reinitializein classForkJoinTask<Void>
-
init
public void init() -
appendTask
-
size
public int size() -
get
-
compute
public void compute()- Specified by:
computein classCountedCompleter<Void>
-
doInvoke
public void doInvoke()
-