Class ClusterMessageBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Member address
      The member associated with this message.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClusterMessageBase()
      Default constructor for ClusterMessageBase.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Member getAddress()
      Returns the member associated with this message.
      long getTimestamp()
      Returns the timestamp of this message.
      void setAddress​(Member member)
      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
    • Field Detail

      • address

        protected transient Member address
        The member associated with this message.
    • Constructor Detail

      • ClusterMessageBase

        public ClusterMessageBase()
        Default constructor for ClusterMessageBase.
    • 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
      • 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
      • 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