public class TextVersionCommand extends Command implements ServerAddressAware
| 限定符和类型 | 字段和说明 |
|---|---|
InetSocketAddress |
server |
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFutureVERSION| 构造器和说明 |
|---|
TextVersionCommand(CountDownLatch latch,
InetSocketAddress server) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
decode(MemcachedTCPSession session,
ByteBuffer buffer) |
void |
encode() |
InetSocketAddress |
getServer() |
void |
setServer(InetSocketAddress server) |
cancel, countDownLatch, decodeError, decodeError, decodeError, decodeError, getCommandType, getCopiedMergeCount, getException, getIoBuffer, getKey, getKeyBytes, getLatch, getMergeCount, getMessage, getResult, getStatus, getTranscoder, getWriteBuffer, getWriteFuture, isCancel, isNoreply, isWriting, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setTranscoder, setWriteBuffer, setWriteFuture, toString, writingpublic InetSocketAddress server
public TextVersionCommand(CountDownLatch latch, InetSocketAddress server)
public final InetSocketAddress getServer()
getServer 在接口中 ServerAddressAwarepublic final void setServer(InetSocketAddress server)
setServer 在接口中 ServerAddressAwarepublic final boolean decode(MemcachedTCPSession session, ByteBuffer buffer)
Copyright © 2013. All Rights Reserved.