|
||||||||||
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
Constructor Summary | |
SessionIDMessage()
|
Method Summary | |
Member |
getAddress()
Get the address that this message originated from. |
java.lang.String |
getBackupSessionID()
|
java.lang.String |
getContextPath()
|
int |
getMessageNumber()
|
java.lang.String |
getOrignalSessionID()
|
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 |
setContextPath(java.lang.String contextPath)
|
void |
setMessageNumber(int messageNumber)
|
void |
setOrignalSessionID(java.lang.String orignalSessionID)
|
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 ClusterMessage
public void setAddress(Member address)
ClusterMessage
setAddress
in interface ClusterMessage
address
- Memberpublic java.lang.String getUniqueId()
ClusterMessage
getUniqueId
in interface ClusterMessage
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 ClusterMessage
public void setTimestamp(long timestamp)
ClusterMessage
setTimestamp
in interface ClusterMessage
timestamp
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |