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 Member
getAddress()
java.lang.String
getContextName()
long
getTimestamp()
java.lang.String
getUniqueId()
void
setAddress(Member address)
Set the member associated with the message.void
setTimestamp(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:
getAddress
in interfaceClusterMessage
- Returns:
- the member associated with the message
-
setAddress
public void setAddress(Member address)
Description copied from interface:ClusterMessage
Set the member associated with the message.- Specified by:
setAddress
in interfaceClusterMessage
- Parameters:
address
- the member
-
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp
in interfaceClusterMessage
- Returns:
- the message timestamp
-
setTimestamp
public void setTimestamp(long timestamp)
Description copied from interface:ClusterMessage
Set the timestamp for this message.- Specified by:
setTimestamp
in interfaceClusterMessage
- Parameters:
timestamp
- the timestamp
-
getUniqueId
public java.lang.String getUniqueId()
- Specified by:
getUniqueId
in interfaceClusterMessage
- Returns:
- the unique id of the message
-
getContextName
public java.lang.String getContextName()
-
-