Class TextCASCommand
java.lang.Object
net.rubyeye.xmemcached.command.Command
net.rubyeye.xmemcached.command.text.TextStoreCommand
net.rubyeye.xmemcached.command.text.TextCASCommand
- All Implemented Interfaces:
WriteMessage
,StoreCommand
CAS command for text protocol
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.rubyeye.xmemcached.command.text.TextStoreCommand
cas, expTime, value
Fields inherited from class net.rubyeye.xmemcached.command.Command
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFuture
-
Constructor Summary
ConstructorsConstructorDescriptionTextCASCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
decode
(MemcachedTCPSession session, ByteBuffer buffer) Methods inherited from class net.rubyeye.xmemcached.command.text.TextStoreCommand
encode, encodeValue, getCas, getExpTime, getTranscoder, getValue, setCas, setExpTime, setTranscoder, setValue
Methods inherited from class net.rubyeye.xmemcached.command.Command
cancel, countDownLatch, decodeError, decodeError, decodeError, decodeError, getCommandType, getCopiedMergeCount, getException, getIoBuffer, getKey, getKeyBytes, getLatch, getMergeCount, getMessage, getResult, getStatus, getWriteBuffer, getWriteFuture, isAdded, isCancel, isNoreply, isWriting, setAdded, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setWriteBuffer, setWriteFuture, toString, writing
-
Field Details
-
failStatus
-
-
Constructor Details
-
TextCASCommand
public TextCASCommand(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder)
-
-
Method Details
-
decode
- Overrides:
decode
in classTextStoreCommand
-