Class TextFlushAllCommand
- java.lang.Object
-
- net.rubyeye.xmemcached.command.Command
-
- net.rubyeye.xmemcached.command.text.TextFlushAllCommand
-
- All Implemented Interfaces:
WriteMessage
- Direct Known Subclasses:
KestrelFlushAllCommand
public class TextFlushAllCommand extends Command
FlushAll command for text protocol- Author:
- dennis
-
-
Field Summary
Fields Modifier and Type Field Description protected intexptimestatic ByteBufferFLUSH_ALL-
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 TextFlushAllCommand(CountDownLatch latch, int delay, boolean noreply)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecode(MemcachedTCPSession session, ByteBuffer buffer)voidencode()intgetExptime()-
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 Detail
-
FLUSH_ALL
public static final ByteBuffer FLUSH_ALL
-
exptime
protected int exptime
-
-
Constructor Detail
-
TextFlushAllCommand
public TextFlushAllCommand(CountDownLatch latch, int delay, boolean noreply)
-
-
Method Detail
-
getExptime
public final int getExptime()
-
decode
public boolean decode(MemcachedTCPSession session, ByteBuffer buffer)
-
-