Package net.spy.memcached.ops
Interface ConcatenationOperation
- All Superinterfaces:
KeyedOperation
,Operation
- All Known Implementing Classes:
ConcatenationOperationImpl
,ConcatenationOperationImpl
ConcatenationOperation is used to append or prepend data to an existing
object in the cache.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the CAS value sent with this operation.byte[]
getData()
Get the bytes to be set during this operation.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 Details
-
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.
-