AsyncEvent (Apache Geode 1.15.4)

org.apache.geode.cache.asyncqueue

## Interface AsyncEvent<K,V>

- All Superinterfaces:
    GatewayQueueEvent<K,V>

      public interface AsyncEvent<K,V>
      extends GatewayQueueEvent<K,V>

  Represents `Cache` events delivered to `AsyncEventListener`.
  Since:
    GemFire 7.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 by `AsyncEventListener` to avoid processing duplicates.
      Returns:
        the wrapper over the DistributedMembershipID, ThreadID, SequenceID which are used to uniquely identify any region operation