Class BinaryGetAndTouchCommand
- java.lang.Object
-
- net.rubyeye.xmemcached.command.Command
-
- net.rubyeye.xmemcached.command.binary.BaseBinaryCommand
-
- net.rubyeye.xmemcached.command.binary.BinaryGetCommand
-
- net.rubyeye.xmemcached.command.binary.BinaryGetAndTouchCommand
-
- All Implemented Interfaces:
WriteMessage
,AssocCommandAware
,StoreCommand
public class BinaryGetAndTouchCommand extends BinaryGetCommand
Binary GAT/GATQ command
-
-
Field Summary
-
Fields inherited from class net.rubyeye.xmemcached.command.binary.BaseBinaryCommand
cas, decodeStatus, DEFAULT_VBUCKET_ID, expTime, EXTRAS_LENGTH, opaque, opCode, responseExtrasLength, responseKeyLength, responseStatus, responseTotalBodyLength, value, vbucketId
-
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
Constructors Constructor Description BinaryGetAndTouchCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, boolean noreply)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillExtras(CachedData data)
protected byte
getExtrasLength()
-
Methods inherited from class net.rubyeye.xmemcached.command.binary.BinaryGetCommand
fillValue, finish, getAssocCommands, getResponseKey, getValueLength, readCAS, readExtras, readHeader, readKey, readValue, setAssocCommands, setResponseKey
-
Methods inherited from class net.rubyeye.xmemcached.command.binary.BaseBinaryCommand
decode, encode, fillKey, getCas, getCasValue, getExpTime, getKeyLength, getOpaque, getOpCode, getResponseStatus, getTranscoder, getValue, readOpaque, readOpCode, readStatus, setCas, setExpTime, setOpaque, setOpCode, setResponseStatus, 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
-
-
-
-
Constructor Detail
-
BinaryGetAndTouchCommand
public BinaryGetAndTouchCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, boolean noreply)
-
-
Method Detail
-
fillExtras
protected void fillExtras(CachedData data)
- Overrides:
fillExtras
in classBinaryGetCommand
-
getExtrasLength
protected byte getExtrasLength()
- Overrides:
getExtrasLength
in classBinaryGetCommand
-
-