Class TextDeleteCommand
- java.lang.Object
-
- net.rubyeye.xmemcached.command.Command
-
- net.rubyeye.xmemcached.command.text.TextDeleteCommand
-
- All Implemented Interfaces:
WriteMessage
- Direct Known Subclasses:
KestrelDeleteCommand
public class TextDeleteCommand extends Command
Delete command for text protocol
-
-
Field Summary
Fields Modifier and Type Field Description protected int
time
-
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 TextDeleteCommand(java.lang.String key, byte[] keyBytes, int time, java.util.concurrent.CountDownLatch latch, boolean noreply)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
decode(MemcachedTCPSession session, java.nio.ByteBuffer buffer)
void
encode()
int
getTime()
void
setTime(int time)
-
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
-
-
-
-
Method Detail
-
getTime
public final int getTime()
-
setTime
public final void setTime(int time)
-
decode
public boolean decode(MemcachedTCPSession session, java.nio.ByteBuffer buffer)
-
-