|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjsr166y.ForkJoinTask<java.lang.Void>
jsr166y.CountedCompleter
water.H2O.H2OCountedCompleter
water.DTask<T>
water.DRemoteTask<T>
public abstract class DRemoteTask<T extends DRemoteTask>
A Distributed DTask. Execute a set of Keys on the home for each Key. Limited to doing a map/reduce style.
| Field Summary | |
|---|---|
protected Futures |
_fs
|
protected boolean |
_is_local
|
protected Key[] |
_keys
|
| Fields inherited from class water.DTask |
|---|
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth |
| Constructor Summary | |
|---|---|
DRemoteTask()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class water.DTask |
|---|
copyOver, dinvoke, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, onExceptionalCompletion, read, setException, toDocField, write, writeJSONFields |
| Methods inherited from class water.H2O.H2OCountedCompleter |
|---|
compute, priority |
| Methods inherited from class jsr166y.CountedCompleter |
|---|
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete |
| Methods inherited from class jsr166y.ForkJoinTask |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Key[] _keys
protected transient boolean _is_local
protected transient volatile Futures _fs
| Constructor Detail |
|---|
public DRemoteTask()
| Method Detail |
|---|
public abstract void reduce(T drt)
public void init()
public T invokeOnAllNodes()
public T dfork(Key... keys)
public void keys(Key... keys)
public T invoke(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 DTask<T extends DRemoteTask>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||