|
||||||||||
| 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_FIELD_LENGTH, CAS_INDEX, DATA_TYPE_FIELD_LENGTH, DATA_TYPE_INDEX, EXTRA_LENGTH_FIELD_LENGTH, EXTRA_LENGTH_INDEX, HEADER_LENGTH, KEY_LENGTH_FIELD_LENGTH, KEY_LENGTH_INDEX, MAGIC_FIELD_LENGTH, MAGIC_INDEX, mbytes, OPAQUE_FIELD_LENGTH, OPAQUE_INDEX, OPCODE_FIELD_LENGTH, OPCODE_INDEX, TOTAL_BODY_FIELD_LENGTH, TOTAL_BODY_INDEX, VBUCKET_FIELD_LENGTH, VBUCKET_INDEX |
| Constructor Summary | |
|---|---|
ResponseMessage(byte[] buffer)
Creates a ResponseMessage from binary data. |
|
| Method Summary | |
|---|---|
long |
getEnginePrivate()
Gets the value of the engine private field if the field exists in the message. |
int |
getFlags()
Gets the value of the flags field if the field exists in the message. |
long |
getItemExpiry()
Gets the value of the item expiry field if the field exists in the message. |
int |
getItemFlags()
Gets the value of the items flag field if the field exists in the message. |
String |
getKey()
Gets the value of the key field if the field exists in the message. |
int |
getReserved1()
Gets the value of the reserved1 field if the field exists in the message. |
int |
getReserved2()
Gets the value of the reserved2 field if the field exists in the message. |
int |
getReserved3()
Gets the value of the reserved3 field if the field exists in the message. |
int |
getTTL()
Gets the value of the time to live field if the field exists in the message. |
byte[] |
getValue()
Gets the value of the value field if the field exists in the message. |
| Methods inherited from class net.spy.memcached.tapmessage.BaseMessage |
|---|
getBytes, getCas, getDatatype, getExtralength, getKeylength, getMagic, getMessageLength, getOpaque, getOpcode, getTotalbody, getVbucket, setCas, setDatatype, setExtralength, setKeylength, 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[] buffer)
buffer - The binary data sent from the tap stream server.| Method Detail |
|---|
public long getEnginePrivate()
public int getFlags()
public int getTTL()
public int getReserved1()
public int getReserved2()
public int getReserved3()
public int getItemFlags()
public long getItemExpiry()
public String getKey()
public byte[] getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||