Package org.apache.catalina.ha.deploy
Class UndeployMessage
- java.lang.Object
-
- org.apache.catalina.ha.deploy.UndeployMessage
-
- All Implemented Interfaces:
java.io.Serializable,ClusterMessage
public class UndeployMessage extends java.lang.Object implements ClusterMessage
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UndeployMessage(Member address, long timestamp, java.lang.String uniqueId, java.lang.String contextName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MembergetAddress()java.lang.StringgetContextName()longgetTimestamp()java.lang.StringgetUniqueId()voidsetAddress(Member address)Set the member associated with the message.voidsetTimestamp(long timestamp)Set the timestamp for this message.
-
-
-
Constructor Detail
-
UndeployMessage
public UndeployMessage(Member address, long timestamp, java.lang.String uniqueId, java.lang.String contextName)
-
-
Method Detail
-
getAddress
public Member getAddress()
- Specified by:
getAddressin interfaceClusterMessage- Returns:
- the member associated with the message
-
setAddress
public void setAddress(Member address)
Description copied from interface:ClusterMessageSet the member associated with the message.- Specified by:
setAddressin interfaceClusterMessage- Parameters:
address- the member
-
getTimestamp
public long getTimestamp()
- Specified by:
getTimestampin interfaceClusterMessage- Returns:
- the message timestamp
-
setTimestamp
public void setTimestamp(long timestamp)
Description copied from interface:ClusterMessageSet the timestamp for this message.- Specified by:
setTimestampin interfaceClusterMessage- Parameters:
timestamp- the timestamp
-
getUniqueId
public java.lang.String getUniqueId()
- Specified by:
getUniqueIdin interfaceClusterMessage- Returns:
- the unique id of the message
-
getContextName
public java.lang.String getContextName()
-
-