Package net.spy.memcached.ops
Interface MutatorOperation
- All Superinterfaces:
KeyedOperation
,Operation
- All Known Implementing Classes:
MutatorOperationImpl
,MutatorOperationImpl
incr and decr operations.
-
Method Summary
Methods inherited from interface net.spy.memcached.ops.KeyedOperation
getKeys
Methods inherited from interface net.spy.memcached.ops.Operation
addClone, cancel, getBuffer, getCallback, getCloneCount, getErrorMsg, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, initialize, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, readFromBuffer, setCloneCount, setHandlingNode, timeOut, writeComplete, writing
-
Method Details
-
getType
Mutator getType()Get the mutator type used for this operation. -
getBy
long getBy()Get the amount we're mutating by. -
getDefault
long getDefault()Get the default value (for when there's no value to mutate). -
getExpiration
int getExpiration()Get the expiration to set in case of a new entry.
-