public abstract class DTask<T extends DTask> extends H2O.H2OCountedCompleter implements Freezable
Efficient serialization methods for subclasses will be automatically generated, but explicit ones can be provided. Transient fields will not be mirrored between the VMs.
dinvoke(H2ONode) method will be executed.onAck() method will be executed.onAckAck() method will be executed.| Modifier and Type | Field and Description |
|---|---|
protected DException |
_ex |
| Modifier | Constructor and Description |
|---|---|
protected |
DTask() |
|
DTask(H2O.H2OCountedCompleter completer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyOver(T src) |
void |
dinvoke(H2ONode sender)
Top-level remote execution hook.
|
DException.DistributedException |
getDException() |
boolean |
hasException() |
boolean |
logVerbose()
Override to remove 2 lines of logging per RPC.
|
void |
onAck()
2nd top-level execution hook.
|
void |
onAckAck()
3rd top-level execution hook.
|
void |
setException(java.lang.Throwable ex) |
clone, compute, compute2, frozenType, icer, nextThrPriority, onExceptionalCompletion, priority, read_impl, read, readJSON_impl, readJSON, write_impl, write, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONaddToPendingCount, 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, tryUnforkequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, frozenType, read_impl, read, readJSON_impl, readJSON, write_impl, write, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONprotected DException _ex
protected DTask()
public DTask(H2O.H2OCountedCompleter completer)
public final boolean hasException()
public void setException(java.lang.Throwable ex)
public DException.DistributedException getDException()
public void dinvoke(H2ONode sender)
public void onAck()
public void onAckAck()
public boolean logVerbose()
protected void copyOver(T src)