Class ClusterMessageBase

java.lang.Object
org.apache.catalina.ha.ClusterMessageBase
All Implemented Interfaces:
Serializable, ClusterMessage
Direct Known Subclasses:
FileMessage, SessionMessageImpl

public abstract class ClusterMessageBase extends Object implements ClusterMessage
See Also:
  • Field Details

    • address

      protected transient Member address
  • Constructor Details

    • ClusterMessageBase

      public ClusterMessageBase()
  • Method Details

    • getAddress

      public Member getAddress()
      Specified by:
      getAddress in interface ClusterMessage
      Returns:
      the member associated with the message
    • getTimestamp

      public long getTimestamp()
      Specified by:
      getTimestamp in interface ClusterMessage
      Returns:
      the message timestamp
    • setAddress

      public void setAddress(Member member)
      Description copied from interface: ClusterMessage
      Set the member associated with the message.
      Specified by:
      setAddress in interface ClusterMessage
      Parameters:
      member - the member
    • 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