|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.cluster.session.SessionIDMessage
Session id change cluster message
| Field Summary |
| Fields inherited from interface org.apache.catalina.cluster.ClusterMessage |
FLAG_ALLOWED, FLAG_DEFAULT, FLAG_FORBIDDEN |
| Constructor Summary | |
SessionIDMessage()
|
|
| Method Summary | |
Member |
getAddress()
Get the address that this message originated from. |
java.lang.String |
getBackupSessionID()
|
int |
getCompress()
Each message can made the desicion that compress is allowed or not or handle by default. |
java.lang.String |
getContextPath()
|
java.lang.String |
getHost()
|
int |
getMessageNumber()
|
java.lang.String |
getOrignalSessionID()
|
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 address)
Called by the cluster before sending it to the other nodes. |
void |
setBackupSessionID(java.lang.String backupSessionID)
|
void |
setCompress(int compress)
set desicion that compress is allowed or not or handle by default. |
void |
setContextPath(java.lang.String contextPath)
|
void |
setHost(java.lang.String host)
|
void |
setMessageNumber(int messageNumber)
|
void |
setOrignalSessionID(java.lang.String orignalSessionID)
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SessionIDMessage()
| Method Detail |
public Member getAddress()
ClusterMessage
getAddress in interface ClusterMessagepublic void setAddress(Member address)
ClusterMessage
setAddress in interface ClusterMessageaddress - Memberpublic java.lang.String getUniqueId()
ClusterMessage
getUniqueId in interface ClusterMessagepublic java.lang.String getHost()
public void setHost(java.lang.String host)
host - The host to set.public java.lang.String getContextPath()
public void setContextPath(java.lang.String contextPath)
contextPath - The contextPath to set.public int getMessageNumber()
public void setMessageNumber(int messageNumber)
messageNumber - The messageNumber to set.public long getTimestamp()
ClusterMessage
getTimestamp in interface ClusterMessagepublic void setTimestamp(long timestamp)
ClusterMessage
setTimestamp in interface ClusterMessagetimestamp - The timestamp to set.public java.lang.String getBackupSessionID()
public void setBackupSessionID(java.lang.String backupSessionID)
backupSessionID - The backupSessionID to set.public java.lang.String getOrignalSessionID()
public void setOrignalSessionID(java.lang.String orignalSessionID)
orignalSessionID - The orignalSessionID to set.public int getCompress()
ClusterMessage
getCompress in interface ClusterMessagepublic void setCompress(int compress)
ClusterMessage
setCompress in interface ClusterMessagecompress - The compress to set.public int getResend()
ClusterMessage
getResend in interface ClusterMessagepublic void setResend(int resend)
ClusterMessage
setResend in interface ClusterMessageresend - The resend to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||