net.spy.memcached.ops
Interface MutatorOperation

All Superinterfaces:
KeyedOperation, Operation

public interface MutatorOperation
extends KeyedOperation

incr and decr operations.


Method Summary
 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
cancel, getBuffer, getCallback, getException, getHandlingNode, getState, handleRead, hasErrored, initialize, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, readFromBuffer, 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.



Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.