OperationAddDelOnListOp, AddOnNrOp, PartialReadOp, ReadOp, ReadRandomFromListOp, ReadSublistOp, TestAndSetOp, WriteOppublic interface TransactionSingleOpOperation extends Operation
TransactionSingleOp.| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
processResultSingle() |
Processes the result set by
Operation.setResult(OtpErlangObject, boolean)
assuming that operation was committed. |
getErlang, getKey, getResult, getResultCompressed, processResult, setResultjava.lang.Object processResultSingle()
throws NotFoundException,
KeyChangedException,
NotANumberException,
NotAListException,
AbortException,
EmptyListException,
UnknownException
Operation.setResult(OtpErlangObject, boolean)
assuming that operation was committed.
In contrast to Operation.processResult() operations like WriteOp
will throw a proper AbortException for their commit part instead
of an UnknownException.
Note: the created value is not cached!NotFoundException - if the requested key does not existKeyChangedException - if the key did not match old_valueNotANumberException - if the previously stored value was not a numberNotAListException - if the previously stored value was no listEmptyListException - if the stored value is an empty list but the op requires a
non-empty listAbortException - if a commit failedUnknownException - if any other error occurs