Class TextStatsCommand
java.lang.Object
net.rubyeye.xmemcached.command.Command
net.rubyeye.xmemcached.command.text.TextStatsCommand
- All Implemented Interfaces:
WriteMessage, ServerAddressAware
- Direct Known Subclasses:
TextStatsCachedumpCommand
Stats command for text protocol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate InetSocketAddressstatic final ByteBufferFields inherited from class Command
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFutureFields inherited from interface ServerAddressAware
VERSION -
Constructor Summary
ConstructorsConstructorDescriptionTextStatsCommand(InetSocketAddress server, CountDownLatch latch, String itemName) -
Method Summary
Modifier and TypeMethodDescriptionbooleandecode(MemcachedTCPSession session, ByteBuffer buffer) protected final booleandone(MemcachedSession session) final voidencode()final InetSocketAddressvoidsetItemName(String item) final voidsetServer(InetSocketAddress server) 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
-
STATS
-
server
-
itemName
-
-
Constructor Details
-
TextStatsCommand
-
-
Method Details
-
getItemName
-
getServer
- Specified by:
getServerin interfaceServerAddressAware
-
setServer
- Specified by:
setServerin interfaceServerAddressAware
-
setItemName
-
decode
-
done
-
encode
-