net.spy.memcached.ops
Interface ConcatenationOperation

All Superinterfaces:
KeyedOperation, Operation
All Known Implementing Classes:
ConcatenationOperationImpl

public interface ConcatenationOperation
extends KeyedOperation

ConcatenationOperation is used to append or prepend data to an existing object in the cache.


Method Summary
 long getCasValue()
          Get the CAS value sent with this operation.
 byte[] getData()
          Get the bytes to be set during this operation.
 ConcatenationType getStoreType()
          Get the concatenation type 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

getStoreType

ConcatenationType getStoreType()
Get the concatenation type for this operation.


getCasValue

long getCasValue()
Get the CAS value sent with this operation.


getData

byte[] getData()
Get the bytes to be set during this operation.

Note, this returns an exact reference to the bytes and the data must not be modified.