Package net.spy.memcached.ops
Interface MutatorOperation
-
- All Superinterfaces:
KeyedOperation
,Operation
- All Known Implementing Classes:
MutatorOperationImpl
,MutatorOperationImpl
public interface MutatorOperation extends KeyedOperation
incr and decr operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBy()
Get the amount we're mutating by.long
getDefault()
Get the default value (for when there's no value to mutate).int
getExpiration()
Get the expiration to set in case of a new entry.Mutator
getType()
Get the mutator type used for this operation.-
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 Detail
-
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.
-
-