public abstract static class H2O.H2OCountedCompleter<T extends H2O.H2OCountedCompleter>
extends jsr166y.CountedCompleter
implements java.lang.Cloneable
| Modifier | Constructor and Description |
|---|---|
|
H2O.H2OCountedCompleter() |
protected |
H2O.H2OCountedCompleter(H2O.H2OCountedCompleter completer) |
| Modifier and Type | Method and Description |
|---|---|
T |
clone() |
void |
compute()
The main computation performed by this task.
|
abstract void |
compute2() |
boolean |
onExceptionalCompletion(java.lang.Throwable ex,
jsr166y.CountedCompleter caller)
Performs an action when method
ForkJoinTask.completeExceptionally(java.lang.Throwable)
is invoked or method CountedCompleter.compute() throws an exception, and
this task has not otherwise already completed normally. |
byte |
priority() |
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, onCompletion, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, 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, tryUnforkpublic H2O.H2OCountedCompleter()
protected H2O.H2OCountedCompleter(H2O.H2OCountedCompleter completer)
public final void compute()
jsr166y.CountedCompletercompute in class jsr166y.CountedCompleterpublic abstract void compute2()
public boolean onExceptionalCompletion(java.lang.Throwable ex,
jsr166y.CountedCompleter caller)
jsr166y.CountedCompleterForkJoinTask.completeExceptionally(java.lang.Throwable)
is invoked or method CountedCompleter.compute() throws an exception, and
this task has not otherwise already completed normally. On
entry to this method, this task ForkJoinTask.isCompletedAbnormally(). The return value of this
method controls further propagation: If true and this
task has a completer, then this completer is also completed
exceptionally. The default implementation of this method does
nothing except return true.onExceptionalCompletion in class jsr166y.CountedCompleterex - the exceptioncaller - the task invoking this method (which may
be this task itself).public byte priority()
public T clone()
clone in class java.lang.Object