|
||||||||||
| 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.RequestMessage
public class RequestMessage
A tap request message that is used to start tap streams, perform sasl authentication, and maintain the health of tap streams.
| 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 | |
|---|---|
RequestMessage()
Create a tap request message. |
|
| Method Summary | |
|---|---|
int |
getFlags()
Returns the flags for this message. |
void |
setBackfill(long date)
Stream all keys inserted into the server after a given date. |
void |
setFlags(TapFlag f)
Sets the flags for the tap stream. |
void |
setName(String s)
Sets a name for this tap stream. |
void |
setVbucketlist(int[] vbs)
Sets a list of vbuckets to stream keys from. |
| 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 RequestMessage()
| Method Detail |
|---|
public void setFlags(TapFlag f)
f - The flags to use for this tap stream.public void setBackfill(long date)
date - - The date to stream keys from. Null to stream all keys.public int getFlags()
public void setVbucketlist(int[] vbs)
vbs - - A list of vbuckets.public void setName(String s)
s - The name for the tap stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||