org.apache.geode.cache.wan

## Interface GatewayEventSubstitutionFilter<K,V>

- All Superinterfaces:
    CacheCallback, Declarable

      public interface GatewayEventSubstitutionFilter<K,V>
      extends CacheCallback

  Interface `GatewayEventSubstitutionFilter` provides a way to specify a substitute value to be stored in the `GatewayQueueEvent` and enqueued in the `RegionQueue`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `getSubstituteValue(EntryEvent<K,V> event)` Return the substitute value to be stored in the `GatewayQueueEvent` and enqueued in the `RegionQueue`

    - ### Methods inherited from interface org.apache.geode.cache.CacheCallback

      `close`

    - ### Methods inherited from interface org.apache.geode.cache.Declarable

      `init, initialize`

- - ### Method Detail

    - #### getSubstituteValue

          java.lang.Object getSubstituteValue(EntryEvent<K,V> event)

      Return the substitute value to be stored in the `GatewayQueueEvent` and enqueued in the `RegionQueue`
      Parameters:
        `event` - The originating `EntryEvent`
      Returns:
        the substitute value to be stored in the `GatewayQueueEvent` and enqueued in the `RegionQueue`