Gemfire JavaDocs_test
Interface AsyncEvent<K,V>
-
- All Superinterfaces:
GatewayQueueEvent<K,V>
public interface AsyncEvent<K,V> extends GatewayQueueEvent<K,V>
RepresentsCache
events delivered toAsyncEventListener
.- Since:
- GemFire 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSequenceID
getEventSequenceID()
Returns the wrapper over the DistributedMembershipID, ThreadID, SequenceID which are used to uniquely identify any region operation like create, update etc.boolean
getPossibleDuplicate()
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 byAsyncEventListener
to avoid processing duplicates.- Returns:
- the wrapper over the DistributedMembershipID, ThreadID, SequenceID which are used to uniquely identify any region operation
-
-