public abstract class TAtomic<T extends Iced> extends Atomic<TAtomic<T>>
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth| Constructor and Description |
|---|
TAtomic() |
TAtomic(H2O.H2OCountedCompleter completer) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
atomic(T old)
Atomically update an old value to a new one.
|
Value |
atomic(Value val) |
void |
onSuccess(T old) |
void |
onSuccess(Value old)
Executed on the transaction key's home node after any successful
atomic update.
|
copyOver, dinvoke, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, onExceptionalCompletion, read, setException, toDocField, write, writeJSONFieldsclone, computeaddToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, onCompletion, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, 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, tryUnforkpublic TAtomic()
public TAtomic(H2O.H2OCountedCompleter completer)
public abstract T atomic(T old)
old - The old value, it may be null. It is a defensive copy.public void onSuccess(Value old)
Atomicpublic void onSuccess(T old)