water
Class FJPacket

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

public class FJPacket
extends H2O.H2OCountedCompleter

A class to handle the work of a received UDP packet. Typically we'll do a small amount of work based on the packet contents (such as returning a Value requested by another Node, or recording a heartbeat).

See Also:
Serialized Form

Method Summary
 void compute2()
           
 byte priority()
           
 
Methods inherited from class water.H2O.H2OCountedCompleter
compute
 
Methods inherited from class jsr166y.CountedCompleter
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, onCompletion, onExceptionalCompletion, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compute2

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

priority

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