public class BinaryStatsCommand extends BaseBinaryCommand implements ServerAddressAware
cas, decodeStatus, expTime, opaque, opCode, responseExtrasLength, responseKeyLength, responseStatus, responseTotalBodyLength, value, vbucketIdcancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFutureVERSION| 构造器和说明 |
|---|
BinaryStatsCommand(InetSocketAddress server,
CountDownLatch latch,
String itemName) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
fillExtras(CachedData data) |
protected void |
fillKey() |
protected void |
fillValue(CachedData data) |
protected boolean |
finish() |
protected byte |
getExtrasLength() |
String |
getItemName() |
protected int |
getKeyLength() |
InetSocketAddress |
getServer() |
protected int |
getValueLength(CachedData data) |
protected boolean |
readKey(ByteBuffer buffer,
int keyLength) |
protected void |
readStatus(ByteBuffer buffer) |
protected boolean |
readValue(ByteBuffer buffer,
int bodyLength,
int keyLength,
int extrasLength) |
void |
setItemName(String item) |
void |
setServer(InetSocketAddress server) |
decode, encode, fillCAS, fillHeader, getCas, getExpTime, getOpaque, getOpCode, getResponseStatus, getTranscoder, getValue, readCAS, readExtras, readHeader, readOpaque, readOpCode, setCas, setExpTime, setOpaque, setOpCode, setResponseStatus, setTranscoder, setValuecancel, countDownLatch, decodeError, decodeError, decodeError, decodeError, getCommandType, getCopiedMergeCount, getException, getIoBuffer, getKey, getKeyBytes, getLatch, getMergeCount, getMessage, getResult, getStatus, getWriteBuffer, getWriteFuture, isCancel, isNoreply, isWriting, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setWriteBuffer, setWriteFuture, toString, writingpublic BinaryStatsCommand(InetSocketAddress server, CountDownLatch latch, String itemName)
public String getItemName()
public final InetSocketAddress getServer()
getServer 在接口中 ServerAddressAwarepublic final void setServer(InetSocketAddress server)
setServer 在接口中 ServerAddressAwarepublic void setItemName(String item)
protected boolean finish()
finish 在类中 BaseBinaryCommandprotected void readStatus(ByteBuffer buffer)
readStatus 在类中 BaseBinaryCommandprotected boolean readKey(ByteBuffer buffer, int keyLength)
readKey 在类中 BaseBinaryCommandprotected boolean readValue(ByteBuffer buffer, int bodyLength, int keyLength, int extrasLength)
readValue 在类中 BaseBinaryCommandprotected void fillExtras(CachedData data)
fillExtras 在类中 BaseBinaryCommandprotected void fillValue(CachedData data)
fillValue 在类中 BaseBinaryCommandprotected byte getExtrasLength()
getExtrasLength 在类中 BaseBinaryCommandprotected int getValueLength(CachedData data)
getValueLength 在类中 BaseBinaryCommandprotected void fillKey()
fillKey 在类中 BaseBinaryCommandprotected int getKeyLength()
getKeyLength 在类中 BaseBinaryCommandCopyright © 2013. All Rights Reserved.