Class BinaryQuitCommand
- java.lang.Object
-
- net.rubyeye.xmemcached.command.Command
-
- net.rubyeye.xmemcached.command.binary.BaseBinaryCommand
-
- net.rubyeye.xmemcached.command.binary.BinaryQuitCommand
-
- All Implemented Interfaces:
WriteMessage
,StoreCommand
public class BinaryQuitCommand extends BaseBinaryCommand
Quit command for binary protocol
-
-
Field Summary
-
Fields inherited from class net.rubyeye.xmemcached.command.binary.BaseBinaryCommand
cas, decodeStatus, DEFAULT_VBUCKET_ID, expTime, EXTRAS_LENGTH, opaque, opCode, responseExtrasLength, responseKeyLength, responseStatus, responseTotalBodyLength, value, vbucketId
-
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 BinaryQuitCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
decode(MemcachedTCPSession session, java.nio.ByteBuffer buffer)
protected void
fillExtras(CachedData data)
protected void
fillKey()
protected void
fillValue(CachedData data)
protected byte
getExtrasLength()
protected short
getKeyLength()
protected int
getValueLength(CachedData data)
-
Methods inherited from class net.rubyeye.xmemcached.command.binary.BaseBinaryCommand
encode, finish, getCas, getCasValue, getExpTime, getOpaque, getOpCode, getResponseStatus, getTranscoder, getValue, readCAS, readExtras, readHeader, readKey, readOpaque, readOpCode, readStatus, readValue, setCas, setExpTime, setOpaque, setOpCode, setResponseStatus, setTranscoder, setValue
-
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, getWriteBuffer, getWriteFuture, isAdded, isCancel, isNoreply, isWriting, setAdded, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setWriteBuffer, setWriteFuture, toString, writing
-
-
-
-
Method Detail
-
decode
public boolean decode(MemcachedTCPSession session, java.nio.ByteBuffer buffer)
- Overrides:
decode
in classBaseBinaryCommand
-
fillExtras
protected void fillExtras(CachedData data)
- Overrides:
fillExtras
in classBaseBinaryCommand
-
fillValue
protected void fillValue(CachedData data)
- Overrides:
fillValue
in classBaseBinaryCommand
-
getExtrasLength
protected byte getExtrasLength()
- Overrides:
getExtrasLength
in classBaseBinaryCommand
-
fillKey
protected void fillKey()
- Overrides:
fillKey
in classBaseBinaryCommand
-
getKeyLength
protected short getKeyLength()
- Overrides:
getKeyLength
in classBaseBinaryCommand
-
getValueLength
protected int getValueLength(CachedData data)
- Overrides:
getValueLength
in classBaseBinaryCommand
-
-