|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CASOperation
Operation that represents compare-and-swap.
Method Summary | |
---|---|
byte[] |
getBytes()
Get the bytes to be set during this operation. |
long |
getCasValue()
Get the CAS value advised for this operation. |
int |
getExpiration()
Get the expiration to be set for this operation. |
int |
getFlags()
Get the flags to be set for this operation. |
StoreType |
getStoreType()
Get the type of storage used by this CASOperation. |
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 |
---|
StoreType getStoreType()
long getCasValue()
int getFlags()
int getExpiration()
byte[] getBytes()
Note, this returns an exact reference to the bytes and the data must not be modified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |