|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.cluster.deploy.UndeployMessage
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. |
java.lang.String |
getContextPath()
|
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 |
setContextPath(java.lang.String contextPath)
|
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 ClusterMessage
public void setAddress(Member address)
ClusterMessage
setAddress
in interface ClusterMessage
address
- Memberpublic long getTimestamp()
ClusterMessage
getTimestamp
in interface ClusterMessage
public void setTimestamp(long timestamp)
ClusterMessage
setTimestamp
in interface ClusterMessage
timestamp
- longpublic java.lang.String getUniqueId()
ClusterMessage
getUniqueId
in interface ClusterMessage
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |