public interface TransactionSingleOpOperation extends Operation
TransactionSingleOp.| Modifier and Type | Method and Description |
|---|---|
Object |
processResultSingle()
Processes the result set by
Operation.setResult(OtpErlangObject, boolean)
assuming that operation was committed. |
getErlang, getKey, getResult, getResultCompressed, processResult, setResultObject 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