net.spy.memcached.ops
Interface MutatorOperation

All Superinterfaces:
KeyedOperation, Operation

public interface MutatorOperation
extends KeyedOperation

incr and decr operations.


Method Summary
 int 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
cancel, getBuffer, getCallback, getException, getHandlingNode, getState, handleRead, hasErrored, initialize, isCancelled, readFromBuffer, setHandlingNode, writeComplete
 

Method Detail

getType

Mutator getType()
Get the mutator type used for this operation.


getBy

int 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.