Class UndeployMessage

java.lang.Object
org.apache.catalina.ha.deploy.UndeployMessage
All Implemented Interfaces:
Serializable, ClusterMessage

public class UndeployMessage extends Object implements ClusterMessage
Cluster message that indicates an application has been undeployed.
See Also:
  • Constructor Details

    • UndeployMessage

      public UndeployMessage(Member address, long timestamp, String uniqueId, String contextName)
      Creates a new UndeployMessage.
      Parameters:
      address - the sender address
      timestamp - the message timestamp
      uniqueId - the unique message identifier
      contextName - the context being undeployed
  • Method Details

    • getAddress

      public Member getAddress()
      Description copied from interface: ClusterMessage
      Returns the member associated with this message.
      Specified by:
      getAddress in interface ClusterMessage
      Returns:
      the member address
    • setAddress

      public void setAddress(Member address)
      Description copied from interface: ClusterMessage
      Set the member associated with the message.
      Specified by:
      setAddress in interface ClusterMessage
      Parameters:
      address - the member
    • getTimestamp

      public long getTimestamp()
      Description copied from interface: ClusterMessage
      Returns the timestamp of this message.
      Specified by:
      getTimestamp in interface ClusterMessage
      Returns:
      the timestamp in milliseconds
    • setTimestamp

      public void setTimestamp(long timestamp)
      Description copied from interface: ClusterMessage
      Set the timestamp for this message.
      Specified by:
      setTimestamp in interface ClusterMessage
      Parameters:
      timestamp - the timestamp
    • getUniqueId

      public String getUniqueId()
      Description copied from interface: ClusterMessage
      Returns the unique identifier for this message.
      Specified by:
      getUniqueId in interface ClusterMessage
      Returns:
      the unique ID
    • getContextName

      public String getContextName()
      Returns the name of the context being undeployed.
      Returns:
      the context name