Package net.spy.memcached.ops
Interface StoreOperation
-
- All Superinterfaces:
KeyedOperation
,Operation
- All Known Implementing Classes:
StoreOperationImpl
,StoreOperationImpl
public interface StoreOperation extends KeyedOperation
Operation that represents object storage.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StoreOperation.Callback
Operation callback to get the CAS value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getData()
Get the bytes to be set during this operation.int
getExpiration()
Get the expiration value to be set.int
getFlags()
Get the flags to be set.StoreType
getStoreType()
Get the store type used by 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
StoreType getStoreType()
Get the store type used by this operation.
-
getFlags
int getFlags()
Get the flags to be set.
-
getExpiration
int getExpiration()
Get the expiration value to be set.
-
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.
-
-