|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.cluster.deploy.UndeployMessage
| Field Summary |
| Fields inherited from interface org.apache.catalina.cluster.ClusterMessage |
FLAG_ALLOWED, FLAG_DEFAULT, FLAG_FORBIDDEN |
| Constructor Summary | |
UndeployMessage()
|
|
UndeployMessage(Member address,
long timestamp,
java.lang.String uniqueId,
java.lang.String contextPath,
boolean undeploy)
|
|
| 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. |
java.lang.String |
getContextPath()
|
int |
getResend()
Each message can made the desicion that resend is allowed or not or handle by default. |
long |
getTimestamp()
Timestamp message. |
boolean |
getUndeploy()
|
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 |
setCompress(int compress)
set desicion that compress is allowed or not or handle by default. |
void |
setContextPath(java.lang.String contextPath)
|
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. |
void |
setUndeploy(boolean undeploy)
|
void |
setUniqueId(java.lang.String uniqueId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UndeployMessage()
public UndeployMessage(Member address,
long timestamp,
java.lang.String uniqueId,
java.lang.String contextPath,
boolean undeploy)
| Method Detail |
public Member getAddress()
ClusterMessage
getAddress in interface ClusterMessagepublic void setAddress(Member address)
ClusterMessage
setAddress in interface ClusterMessageaddress - Memberpublic long getTimestamp()
ClusterMessage
getTimestamp in interface ClusterMessagepublic void setTimestamp(long timestamp)
ClusterMessage
setTimestamp in interface ClusterMessagetimestamp - The timestamppublic java.lang.String getUniqueId()
ClusterMessage
getUniqueId in interface ClusterMessagepublic void setUniqueId(java.lang.String uniqueId)
public java.lang.String getContextPath()
public void setContextPath(java.lang.String contextPath)
public boolean getUndeploy()
public void setUndeploy(boolean undeploy)
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 | |||||||||