Package org.apache.catalina.ha.deploy
Class UndeployMessage
java.lang.Object
org.apache.catalina.ha.deploy.UndeployMessage
-
Constructor Summary
ConstructorDescriptionUndeployMessage
(Member address, long timestamp, String uniqueId, String contextName) -
Method Summary
Modifier and TypeMethodDescriptionlong
void
setAddress
(Member address) Set the member associated with the message.void
setTimestamp
(long timestamp) Set the timestamp for this message.
-
Constructor Details
-
UndeployMessage
-
-
Method Details
-
getAddress
- Specified by:
getAddress
in interfaceClusterMessage
- Returns:
- the member associated with the message
-
setAddress
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
- Specified by:
getUniqueId
in interfaceClusterMessage
- Returns:
- the unique id of the message
-
getContextName
-