public class BinaryCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
bodyLength |
protected byte |
extraLength |
protected short |
keyLength |
protected byte |
opcode |
| Modifier and Type | Method and Description |
|---|---|
boolean |
complete() |
void |
generateEventId() |
long |
getCas() |
CommandCode |
getComCode() |
String |
getEventId() |
ByteBuffer |
getInputBuffer() |
String |
getKey() |
KeySpec |
getKeySpec() |
int |
getOpaque() |
byte |
getOpcode() |
byte[] |
getValue() |
short |
getVBucketId() |
void |
process()
Any postprocessing on the body should be done here.
|
protected final short keyLength
protected final byte extraLength
protected final byte opcode
protected final int bodyLength
public ByteBuffer getInputBuffer()
public CommandCode getComCode()
public byte getOpcode()
public int getOpaque()
public short getVBucketId()
public long getCas()
public String getKey()
public KeySpec getKeySpec()
public byte[] getValue()
public String getEventId()
public boolean complete()
public void process()
throws ProtocolException
ProtocolException - if a protocol error occurspublic void generateEventId()
Copyright © 2017. All rights reserved.