VMware GemFire Java API Reference
Package org.apache.geode.cache.wan
Class EventSequenceID
- java.lang.Object
-
- org.apache.geode.cache.wan.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 byAsyncEventListener. If the event has already been seen,AsyncEventListenercan choose to ignore it.
-
-
Constructor Summary
Constructors Constructor Description EventSequenceID(byte[] membershipID, long threadID, long sequenceID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetMembershipID()longgetSequenceID()longgetThreadID()inthashCode()StringtoString()
-
-
-
Method Detail
-
getMembershipID
public String getMembershipID()
-
getThreadID
public long getThreadID()
-
getSequenceID
public long getSequenceID()
-
-