|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.spy.memcached.compat.SpyObject
net.spy.memcached.tapmessage.BaseMessage
net.spy.memcached.tapmessage.ResponseMessage
public class ResponseMessage
A representation of a tap stream message sent from a tap stream server.
Field Summary |
---|
Fields inherited from class net.spy.memcached.tapmessage.BaseMessage |
---|
cas, datatype, extralength, HEADER_LENGTH, keylength, magic, opaque, opcode, totalbody, vbucket |
Constructor Summary | |
---|---|
ResponseMessage(byte[] b)
Creates a ResponseMessage from binary data. |
Method Summary | |
---|---|
java.nio.ByteBuffer |
getBytes()
Creates a ByteBuffer representation of the message. |
long |
getEnginePrivate()
Gets the value of the engine private field. |
java.util.List<TapResponseFlag> |
getFlags()
Gets the value of the flags field. |
long |
getItemExpiry()
Gets the value of the item expiry field. |
int |
getItemFlags()
Gets the value of the items flag field. |
java.lang.String |
getKey()
Gets the value of the key field. |
protected int |
getReserved1()
Gets the value of the reserved1 field. |
protected int |
getReserved2()
Gets the value of the reserved2 field. |
protected int |
getReserved3()
Gets the value of the reserved3 field. |
byte[] |
getRevID()
Gets the value of the revid field. |
int |
getTTL()
Gets the value of the time to live field. |
byte[] |
getValue()
Gets the value of the value field. |
int |
getVBucketState()
Gets the state of the vbucket. |
Methods inherited from class net.spy.memcached.tapmessage.BaseMessage |
---|
decodeInt, decodeLong, decodeShort, getCas, getDatatype, getExtralength, getKeylength, getMagic, getMessageLength, getOpaque, getOpcode, getTotalbody, getVbucket, setCas, setDatatype, setExtralength, setMagic, setOpaque, setOpcode, setTotalbody, setVbucket |
Methods inherited from class net.spy.memcached.compat.SpyObject |
---|
getLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseMessage(byte[] b)
b
- The binary data sent from the tap stream server.Method Detail |
---|
public long getEnginePrivate()
public java.util.List<TapResponseFlag> getFlags()
public int getTTL()
protected int getReserved1()
protected int getReserved2()
protected int getReserved3()
public int getVBucketState()
public int getItemFlags()
public long getItemExpiry()
public java.lang.String getKey()
public byte[] getValue()
public byte[] getRevID()
public java.nio.ByteBuffer getBytes()
BaseMessage
getBytes
in class BaseMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |