public interface Operation
KVStore.execute
method.
Operation instances are created only by OperationFactory
methods
and the Operation interface should not be implemented by the
application.
OperationFactory
,
KVStore.execute
Modifier and Type | Interface and Description |
---|---|
static class |
Operation.Type
The type of operation, as determined by the method used to create it.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAbortIfUnsuccessful()
Returns whether this operation should cause the
KVStore.execute transaction to abort when the operation fails. |
Key |
getKey()
Returns the Key associated with the operation.
|
Operation.Type |
getType()
Returns the operation Type.
|
Key getKey()
Operation.Type getType()
boolean getAbortIfUnsuccessful()
KVStore.execute
transaction to abort when the operation fails.Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.