Class UndeployMessage
java.lang.Object
org.apache.catalina.ha.deploy.UndeployMessage
- All Implemented Interfaces:
Serializable, ClusterMessage
Cluster message that indicates an application has been undeployed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUndeployMessage(Member address, long timestamp, String uniqueId, String contextName) Creates a new UndeployMessage. -
Method Summary
Modifier and TypeMethodDescriptionReturns the member associated with this message.Returns the name of the context being undeployed.longReturns the timestamp of this message.Returns the unique identifier for this message.voidsetAddress(Member address) Set the member associated with the message.voidsetTimestamp(long timestamp) Set the timestamp for this message.
-
Constructor Details
-
UndeployMessage
-
-
Method Details
-
getAddress
Description copied from interface:ClusterMessageReturns the member associated with this message.- Specified by:
getAddressin interfaceClusterMessage- Returns:
- the member address
-
setAddress
Description copied from interface:ClusterMessageSet the member associated with the message.- Specified by:
setAddressin interfaceClusterMessage- Parameters:
address- the member
-
getTimestamp
public long getTimestamp()Description copied from interface:ClusterMessageReturns the timestamp of this message.- Specified by:
getTimestampin interfaceClusterMessage- Returns:
- the timestamp in milliseconds
-
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
Description copied from interface:ClusterMessageReturns the unique identifier for this message.- Specified by:
getUniqueIdin interfaceClusterMessage- Returns:
- the unique ID
-
getContextName
Returns the name of the context being undeployed.- Returns:
- the context name
-