Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.util
Interface MapEventTransformer

All Known Implementing Classes:
  ExtractorEventTransformer, MapEventTransformerFilter, SemiLiteEventTransformer

    public interface MapEventTransformer

MapEventTransformer interface is used to allow an event consumer to change the content of a `MapEvent` destined for the corresponding `MapListener`.

In general, the `transform` method is called after the original MapEvent is evaluated by a Filter (such as `MapEventFilter`). The values contained by the returned MapEvent object will be the ones given (sent) to the corresponding listener. Returning null will prevent the emission of the event altogether.

Note: Currently, the MapEventTransformer interface is supported only by partitioned caches.

Since:
  Coherence 3.4
Author:
  gg/jh 2008.05.01

Method Summary
`MapEvent` | `transform(MapEvent event)` Transform the specified MapEvent.

Method Detail

### transform

    MapEvent transform(MapEvent event)

  Transform the specified MapEvent. The values contained by the returned MapEvent object will be the ones given (sent) to the corresponding listener.

  Parameters:
    `event` - the original MapEvent object
  Returns:
    modified MapEvent object or null to discard the event

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.