Class TextDeleteCommand
java.lang.Object
net.rubyeye.xmemcached.command.Command
net.rubyeye.xmemcached.command.text.TextDeleteCommand
- All Implemented Interfaces:
WriteMessage
- Direct Known Subclasses:
KestrelDeleteCommand
Delete command for text protocol
-
Field Summary
FieldsFields inherited from class Command
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFuture -
Constructor Summary
ConstructorsConstructorDescriptionTextDeleteCommand(String key, byte[] keyBytes, int time, CountDownLatch latch, boolean noreply) -
Method Summary
Modifier and TypeMethodDescriptionbooleandecode(MemcachedTCPSession session, ByteBuffer buffer) final voidencode()final intgetTime()final voidsetTime(int time) Methods inherited from class 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
-
time
protected int time
-
-
Constructor Details
-
TextDeleteCommand
public TextDeleteCommand(String key, byte[] keyBytes, int time, CountDownLatch latch, boolean noreply)
-
-
Method Details