Class UndeployMessage

  • All Implemented Interfaces:
    java.io.Serializable, ClusterMessage

    public class UndeployMessage
    extends java.lang.Object
    implements ClusterMessage
    Cluster message that indicates an application has been undeployed.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UndeployMessage​(Member address, long timestamp, java.lang.String uniqueId, java.lang.String contextName)
      Creates a new UndeployMessage.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Member getAddress()
      Returns the member associated with this message.
      java.lang.String getContextName()
      Returns the name of the context being undeployed.
      long getTimestamp()
      Returns the timestamp of this message.
      java.lang.String getUniqueId()
      Returns the unique identifier for this message.
      void setAddress​(Member address)
      Set the member associated with the message.
      void setTimestamp​(long timestamp)
      Set the timestamp for this message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UndeployMessage

        public UndeployMessage​(Member address,
                               long timestamp,
                               java.lang.String uniqueId,
                               java.lang.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 Detail

      • 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 java.lang.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 java.lang.String getContextName()
        Returns the name of the context being undeployed.
        Returns:
        the context name