Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.