public abstract class TtlRecursiveTask<V> extends ForkJoinTask<V>
ForkJoinTask enhanced by TransmittableThreadLocal.RecursiveTask,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
TtlRecursiveTask() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract V |
compute()
The main computation performed by this task.
|
protected boolean |
exec()
Implements execution conventions for RecursiveTask.
|
V |
getRawResult() |
protected void |
setRawResult(V value) |
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, 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, tryUnforkprotected abstract V compute()
public final V getRawResult()
getRawResult in class ForkJoinTask<V>protected final void setRawResult(V value)
setRawResult in class ForkJoinTask<V>protected final boolean exec()
exec in class ForkJoinTask<V>Copyright © 2013–2018 Alibaba. All rights reserved.