water
Class TaskGetKey

java.lang.Object
  extended by jsr166y.ForkJoinTask<java.lang.Void>
      extended by jsr166y.CountedCompleter
          extended by water.H2O.H2OCountedCompleter
              extended by water.DTask<TaskGetKey>
                  extended by water.TaskGetKey
All Implemented Interfaces:
java.io.Serializable, java.util.concurrent.Future<java.lang.Void>, Freezable

public class TaskGetKey
extends DTask<TaskGetKey>

Get the given key from the remote node

See Also:
Serialized Form

Field Summary
static NonBlockingHashMap<Key,RPC<TaskGetKey>> TGKS
           
 
Fields inherited from class water.DTask
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth
 
Method Summary
 void compute2()
           
 void dinvoke(H2ONode sender)
          Top-level remote execution hook.
static Value get(H2ONode target, Key key, int priority)
           
 void onAck()
          2nd top-level execution hook.
 void onAckAck()
          3rd top-level execution hook.
 byte priority()
           
 
Methods inherited from class water.DTask
clone, copyOver, frozenType, getDException, hasException, logVerbose, newInstance, onExceptionalCompletion, read, setException, toDocField, write, writeJSONFields
 
Methods inherited from class water.H2O.H2OCountedCompleter
compute
 
Methods inherited from class jsr166y.CountedCompleter
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, onCompletion, 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

TGKS

public static final NonBlockingHashMap<Key,RPC<TaskGetKey>> TGKS
Method Detail

get

public static Value get(H2ONode target,
                        Key key,
                        int priority)

dinvoke

public void dinvoke(H2ONode sender)
Description copied from class: DTask
Top-level remote execution hook. Called on the remote.

Overrides:
dinvoke in class DTask<TaskGetKey>

compute2

public void compute2()
Specified by:
compute2 in class H2O.H2OCountedCompleter

onAck

public void onAck()
Description copied from class: DTask
2nd top-level execution hook. After the primary task has received a result (ACK) and before we have sent an ACKACK, this method is executed on the local vm. Transients from the local vm are available here.

Overrides:
onAck in class DTask<TaskGetKey>

onAckAck

public void onAckAck()
Description copied from class: DTask
3rd top-level execution hook. After the original vm sent an ACKACK, this method is executed on the remote. Transients from the remote vm are available here.

Overrides:
onAckAck in class DTask<TaskGetKey>

priority

public byte priority()
Overrides:
priority in class H2O.H2OCountedCompleter