public interface OperationResult
OperationFactory
,
execute
Modifier and Type | Method and Description |
---|---|
Version |
getNewVersion()
For a put operation, the version of the new key/value pair.
|
Value |
getPreviousValue()
For a put or delete operation, the previous value associated with
the key.
|
Version |
getPreviousVersion()
For a put or delete operation, the version of the previous value
associated with the key.
|
boolean |
getSuccess()
Whether the operation succeeded.
|
boolean getSuccess()
Version getNewVersion()
Is null if any of the following conditions are true:
Version getPreviousVersion()
Is null if any of the following conditions are true:
prevReturn
ReturnValueVersion
parameter
specified that the version should not be returned.
putIfVersion
or
deleteIfVersion
operation, the matchVersion
parameter matched the version of the
previous value.
Value getPreviousValue()
Is null if any of the following conditions are true:
prevReturn
ReturnValueVersion
parameter
specified that the value should not be returned.
putIfVersion
or
deleteIfVersion
operation, the matchVersion
parameter matched the version of the
previous value.
Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.