Package net.spy.memcached.ops
Interface ConcatenationOperation
-
- All Superinterfaces:
KeyedOperation
,Operation
- All Known Implementing Classes:
ConcatenationOperationImpl
,ConcatenationOperationImpl
public interface ConcatenationOperation extends KeyedOperation
ConcatenationOperation is used to append or prepend data to an existing object in the cache.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
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
-
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.
-
-