GatewayEventSubstitutionFilter (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.cache.wan, interface: GatewayEventSubstitutionFilter

Package 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

  Modifier and Type
  Method
  Description
  `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 Details

  - ### getSubstituteValue

    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`