public static final class DRF.DRFTask extends DRemoteTask
Modifier and Type | Field and Description |
---|---|
Job |
_job
Job representing this DRF execution.
|
DRF.DRFParams |
_params
RF parameters.
|
RFModel |
_rfmodel
The RF Model.
|
Timer |
_t_main
Main computation timer
|
_fs, _is_local, _keys, _top_level
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth
Constructor and Description |
---|
DRF.DRFTask() |
Modifier and Type | Method and Description |
---|---|
void |
lcompute()
Inhale the data, build a DataAdapter and kick-off the computation.
|
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. |
protected void |
postGlobal() |
void |
reduce(DRemoteTask drt) |
alsoBlockFor, alsoBlockFor, block, clone, compute2, dfork, getFutures, init, invoke, invokeOnAllNodes, isReleasable, keys, lonCompletion, onCompletion, reduceAlsoBlock
copyOver, dinvoke, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFields
compute, priority
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, 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, tryUnfork
public RFModel _rfmodel
public Job _job
public DRF.DRFParams _params
public transient Timer _t_main
public final void lcompute()
lcompute
in class DRemoteTask
public final void reduce(DRemoteTask drt)
reduce
in class DRemoteTask
public boolean onExceptionalCompletion(java.lang.Throwable ex, jsr166y.CountedCompleter caller)
jsr166y.CountedCompleter
ForkJoinTask.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 DTask
ex
- the exceptioncaller
- the task invoking this method (which may
be this task itself).protected void postGlobal()
postGlobal
in class DRemoteTask