public abstract class TextGetCommand extends Command implements MergeCommandsAware, AssocCommandAware, MapReturnValueAware
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TextGetCommand.ParseStatus |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,CachedData> |
returnValues |
protected boolean |
wasFirst |
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFuture| 构造器和说明 |
|---|
TextGetCommand(String key,
byte[] keyBytes,
CommandType cmdType,
CountDownLatch latch) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
decode(MemcachedTCPSession session,
ByteBuffer buffer) |
abstract void |
dispatch() |
void |
encode() |
List<Command> |
getAssocCommands() |
Map<Object,Command> |
getMergeCommands() |
TextGetCommand.ParseStatus |
getParseStatus() |
Map<String,CachedData> |
getReturnValues() |
void |
setAssocCommands(List<Command> assocCommands) |
void |
setMergeCommands(Map<Object,Command> mergeCommands) |
void |
setParseStatus(TextGetCommand.ParseStatus parseStatus) |
void |
setReturnValues(Map<String,CachedData> returnValues) |
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, writingprotected Map<String,CachedData> returnValues
protected boolean wasFirst
public TextGetCommand(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch)
public final Map<Object,Command> getMergeCommands()
getMergeCommands 在接口中 MergeCommandsAwarepublic final void setMergeCommands(Map<Object,Command> mergeCommands)
setMergeCommands 在接口中 MergeCommandsAwarepublic final List<Command> getAssocCommands()
getAssocCommands 在接口中 AssocCommandAwarepublic final void setAssocCommands(List<Command> assocCommands)
setAssocCommands 在接口中 AssocCommandAwarepublic TextGetCommand.ParseStatus getParseStatus()
public void setParseStatus(TextGetCommand.ParseStatus parseStatus)
public final boolean decode(MemcachedTCPSession session, ByteBuffer buffer)
public final Map<String,CachedData> getReturnValues()
getReturnValues 在接口中 MapReturnValueAwarepublic final void setReturnValues(Map<String,CachedData> returnValues)
public abstract void dispatch()
Copyright © 2013. All Rights Reserved.