public class BinaryStatsCommand extends BaseBinaryCommand implements ServerAddressAware
cas, decodeStatus, expTime, opaque, opCode, responseExtrasLength, responseKeyLength, responseStatus, responseTotalBodyLength, value, vbucketId
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFuture
VERSION
Constructor and Description |
---|
BinaryStatsCommand(InetSocketAddress server,
CountDownLatch latch,
String itemName) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillExtras(CachedData data) |
protected void |
fillKey() |
protected void |
fillValue(CachedData data) |
protected boolean |
finish() |
protected byte |
getExtrasLength() |
String |
getItemName() |
protected short |
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, getCas, getCasValue, getExpTime, getOpaque, getOpCode, getResponseStatus, getTranscoder, getValue, readCAS, readExtras, readHeader, readOpaque, readOpCode, setCas, setExpTime, setOpaque, setOpCode, setResponseStatus, setTranscoder, setValue
cancel, countDownLatch, decodeError, decodeError, decodeError, decodeError, getCommandType, getCopiedMergeCount, getException, getIoBuffer, getKey, getKeyBytes, getLatch, getMergeCount, getMessage, getResult, getStatus, getWriteBuffer, getWriteFuture, isAdded, isCancel, isNoreply, isWriting, setAdded, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setWriteBuffer, setWriteFuture, toString, writing
public BinaryStatsCommand(InetSocketAddress server, CountDownLatch latch, String itemName)
public String getItemName()
public final InetSocketAddress getServer()
getServer
in interface ServerAddressAware
public final void setServer(InetSocketAddress server)
setServer
in interface ServerAddressAware
public void setItemName(String item)
protected boolean finish()
finish
in class BaseBinaryCommand
protected void readStatus(ByteBuffer buffer)
readStatus
in class BaseBinaryCommand
protected boolean readKey(ByteBuffer buffer, int keyLength)
readKey
in class BaseBinaryCommand
protected boolean readValue(ByteBuffer buffer, int bodyLength, int keyLength, int extrasLength)
readValue
in class BaseBinaryCommand
protected void fillExtras(CachedData data)
fillExtras
in class BaseBinaryCommand
protected void fillValue(CachedData data)
fillValue
in class BaseBinaryCommand
protected byte getExtrasLength()
getExtrasLength
in class BaseBinaryCommand
protected int getValueLength(CachedData data)
getValueLength
in class BaseBinaryCommand
protected void fillKey()
fillKey
in class BaseBinaryCommand
protected short getKeyLength()
getKeyLength
in class BaseBinaryCommand
Copyright © 2021. All rights reserved.