VMware GemFire Java API Reference
Interface AsyncEvent<K,V>
-
- All Superinterfaces:
GatewayQueueEvent<K,V>
public interface AsyncEvent<K,V> extends GatewayQueueEvent<K,V>
RepresentsCacheevents delivered toAsyncEventListener.- Since:
- GemFire 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSequenceIDgetEventSequenceID()Returns the wrapper over the DistributedMembershipID, ThreadID, SequenceID which are used to uniquely identify any region operation like create, update etc.booleangetPossibleDuplicate()Returns whether possibleDuplicate is set for this event.-
Methods inherited from interface org.apache.geode.cache.wan.GatewayQueueEvent
getCallbackArgument, getDeserializedValue, getKey, getOperation, getRegion, getSerializedValue
-
-
-
-
Method Detail
-
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
-
-