public abstract class DRemoteTask<T extends DRemoteTask> extends DTask<T> implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Futures |
_fs |
protected boolean |
_is_local |
protected Key[] |
_keys |
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth| Constructor and Description |
|---|
DRemoteTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
alsoBlockFor(java.util.concurrent.Future f) |
void |
alsoBlockFor(Futures fs) |
T |
clone() |
void |
compute2() |
T |
dfork(Key... keys) |
Futures |
getFutures() |
void |
init() |
T |
invoke(Key... keys) |
T |
invokeOnAllNodes() |
void |
keys(Key... keys) |
abstract void |
lcompute() |
void |
lonCompletion(jsr166y.CountedCompleter caller) |
void |
onCompletion(jsr166y.CountedCompleter caller)
Performs an action when method
CountedCompleter.tryComplete() is invoked
and there are no pending counts, or when the unconditional
method CountedCompleter.complete(java.lang.Void) is invoked. |
abstract void |
reduce(T drt) |
protected void |
reduceAlsoBlock(T drt) |
copyOver, dinvoke, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, onExceptionalCompletion, read, setException, toDocField, write, writeJSONFieldscompute, priorityaddToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, 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, tryUnforkprotected Key[] _keys
protected transient boolean _is_local
protected transient volatile Futures _fs
public abstract void reduce(T drt)
public void init()
public T invokeOnAllNodes()
public void keys(Key... keys)
public final void compute2()
compute2 in class H2O.H2OCountedCompleterpublic final void onCompletion(jsr166y.CountedCompleter caller)
jsr166y.CountedCompleterCountedCompleter.tryComplete() is invoked
and there are no pending counts, or when the unconditional
method CountedCompleter.complete(java.lang.Void) is invoked. By default, this method
does nothing.onCompletion in class jsr166y.CountedCompletercaller - the task invoking this method (which may
be this task itself).public abstract void lcompute()
public void lonCompletion(jsr166y.CountedCompleter caller)
public Futures getFutures()
public void alsoBlockFor(java.util.concurrent.Future f)
public void alsoBlockFor(Futures fs)
protected void reduceAlsoBlock(T drt)
public T clone()
clone in class H2O.H2OCountedCompleter