Interface AsyncEvent<K,V>
- All Superinterfaces:
GatewayQueueEvent<K,V>
Represents
Cache events delivered to AsyncEventListener.- Since:
- GemFire 7.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the wrapper over the DistributedMembershipID, ThreadID, SequenceID which are used to uniquely identify any region operation like create, update etc.booleanReturns whether possibleDuplicate is set for this event.Methods inherited from interface org.apache.geode.cache.wan.GatewayQueueEvent
getCallbackArgument, getDeserializedValue, getKey, getOperation, getRegion, getSerializedValue
-
Method Details
-
getPossibleDuplicate
boolean getPossibleDuplicate()Returns whether possibleDuplicate is set for this event.- Returns:
- whether possibleDuplicate is set for this event
-
getEventSequenceID
EventSequenceID getEventSequenceID()Returns the wrapper over the DistributedMembershipID, ThreadID, SequenceID which are used to uniquely identify any region operation like create, update etc. This helps in sequencing the events belonging to a unique producer. e.g. The EventID can be used to track events received byAsyncEventListenerto avoid processing duplicates.- Returns:
- the wrapper over the DistributedMembershipID, ThreadID, SequenceID which are used to uniquely identify any region operation
-