Class TextTouchCommand
- java.lang.Object
-
- net.rubyeye.xmemcached.command.Command
-
- net.rubyeye.xmemcached.command.text.TextTouchCommand
-
- All Implemented Interfaces:
WriteMessage
public class TextTouchCommand extends Command
Touch command for touch protocol.- Since:
- 1.3.8
- Author:
- dennis
-
-
Field Summary
-
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 TextTouchCommand(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int expTime, boolean noreply)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecode(MemcachedTCPSession session, ByteBuffer buffer)voidencode()intgetExpTime()voidsetExpTime(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
-
-
-
-
Constructor Detail
-
TextTouchCommand
public TextTouchCommand(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int expTime, boolean noreply)
-
-
Method Detail
-
getExpTime
public int getExpTime()
-
setExpTime
public void setExpTime(int expTime)
-
decode
public final boolean decode(MemcachedTCPSession session, ByteBuffer buffer)
-
-