Class TextVersionCommand
java.lang.Object
net.rubyeye.xmemcached.command.Command
net.rubyeye.xmemcached.command.text.TextVersionCommand
- All Implemented Interfaces:
WriteMessage,ServerAddressAware
Version command for text protocol
-
Field Summary
FieldsFields 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, writeFutureFields inherited from interface net.rubyeye.xmemcached.command.ServerAddressAware
VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleandecode(MemcachedTCPSession session, ByteBuffer buffer) final voidencode()final InetSocketAddressfinal voidsetServer(InetSocketAddress server) 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 Details
-
server
-
-
Constructor Details
-
TextVersionCommand
-
-
Method Details
-
getServer
- Specified by:
getServerin interfaceServerAddressAware
-
setServer
- Specified by:
setServerin interfaceServerAddressAware
-
decode
-
encode
public final void encode()
-