|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
FLAG_ALLOWED
|
static int |
FLAG_DEFAULT
|
static int |
FLAG_FORBIDDEN
|
Method Summary | |
Member |
getAddress()
Get the address that this message originated from. |
int |
getCompress()
Each message can made the desicion that compress is allowed or not or handle by default. |
int |
getResend()
Each message can made the desicion that resend is allowed or not or handle by default. |
long |
getTimestamp()
Timestamp message. |
java.lang.String |
getUniqueId()
Each message must have a unique ID, in case of using async replication, and a smart queue, this id is used to replace messages not yet sent. |
void |
setAddress(Member member)
Called by the cluster before sending it to the other nodes. |
void |
setCompress(int compress)
set desicion that compress is allowed or not or handle by default. |
void |
setResend(int resend)
set desicion that resend is allowed or not or handle by default. |
void |
setTimestamp(long timestamp)
Called by the cluster before sending out the message. |
Field Detail |
public static final int FLAG_FORBIDDEN
public static final int FLAG_ALLOWED
public static final int FLAG_DEFAULT
Method Detail |
public Member getAddress()
public void setAddress(Member member)
member
- Memberpublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp
- The timestamppublic java.lang.String getUniqueId()
public int getResend()
public void setResend(int resend)
resend
- 0 Forbidden, 1 allowed, 2 defaultpublic int getCompress()
public void setCompress(int compress)
compress
- 0 Forbidden, 1 allowed, 2 default
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |