Class EventSequenceID


  • public class EventSequenceID
    extends Object
    This class wraps 1) DistributedMembershipID 2) ThreadID 3) SequenceID attributes which are used to uniquely identify any Region Operation like create, update, destroy etc. This helps in sequencing the events belonging to a unique producer. As an example, the EventSequenceID can be used to track the events received by AsyncEventListener. If the event has already been seen, AsyncEventListener can choose to ignore it.
    • Constructor Detail

      • EventSequenceID

        public EventSequenceID​(byte[] membershipID,
                               long threadID,
                               long sequenceID)
    • Method Detail

      • getMembershipID

        public String getMembershipID()
      • getThreadID

        public long getThreadID()
      • getSequenceID

        public long getSequenceID()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object