water.parser
Class DParseTask.AtomicUnion

java.lang.Object
  extended by jsr166y.ForkJoinTask<java.lang.Void>
      extended by jsr166y.CountedCompleter
          extended by water.H2O.H2OCountedCompleter
              extended by water.DTask
                  extended by water.Atomic
                      extended by water.parser.DParseTask.AtomicUnion
All Implemented Interfaces:
java.io.Serializable, java.util.concurrent.Future<java.lang.Void>, Freezable
Enclosing class:
DParseTask

public static class DParseTask.AtomicUnion
extends Atomic

See Also:
Serialized Form

Field Summary
 
Fields inherited from class water.Atomic
_key
 
Fields inherited from class water.DTask
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth
 
Constructor Summary
DParseTask.AtomicUnion(byte[] buf, int dstOff)
           
 
Method Summary
 Value atomic(Value val1)
           
 void onSuccess()
          Executed on the transaction key's home node after any successful atomic update.
 
Methods inherited from class water.Atomic
compute2, fork, invoke, priority
 
Methods inherited from class water.DTask
clone, copyOver, dinvoke, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, 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
 

Constructor Detail

DParseTask.AtomicUnion

public DParseTask.AtomicUnion(byte[] buf,
                              int dstOff)
Method Detail

atomic

public Value atomic(Value val1)
Specified by:
atomic in class Atomic

onSuccess

public void onSuccess()
Description copied from class: Atomic
Executed on the transaction key's home node after any successful atomic update. Override this if you need to perform some action after the update succeeds (eg cleanup).

Overrides:
onSuccess in class Atomic