Class TextTouchCommand
java.lang.Object
net.rubyeye.xmemcached.command.Command
net.rubyeye.xmemcached.command.text.TextTouchCommand
- All Implemented Interfaces:
WriteMessage
Touch command for touch protocol.
- Since:
- 1.3.8
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final Stringprivate static final StringFields 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
ConstructorsConstructorDescriptionTextTouchCommand(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int expTime, boolean noreply) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleandecode(MemcachedTCPSession session, ByteBuffer buffer) final voidencode()intvoidsetExpTime(int expTime) 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, getTranscoder, getWriteBuffer, getWriteFuture, isAdded, isCancel, isNoreply, isWriting, setAdded, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setTranscoder, setWriteBuffer, setWriteFuture, toString, writing
-
Field Details
-
NOT_FOUND
- See Also:
-
TOUCHED
- See Also:
-
expTime
private int expTime
-
-
Constructor Details
-
TextTouchCommand
public TextTouchCommand(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int expTime, boolean noreply)
-
-
Method Details