Oracle Coherence for C++ API
Release 3.6.1.0

E18813-01

MapEventTransformer Class Reference

#include <coherence/util/MapEventTransformer.hpp>

Inherits Object.

Inherited by MapEventTransformerFilter [virtual], ExtractorEventTransformer [virtual], and SemiLiteEventTransformer [virtual].

List of all members.


Detailed Description

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 coherence::util::filter::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.

See also:
coherence::util::filter::MapEventTransformerFilter
Author:
djl 2008.05.22

Public Types

typedef spec::Handle  Handle
  MapEventTransformer Handle definition.
typedef spec::View  View
  MapEventTransformer View definition.
typedef spec::Holder  Holder
  MapEventTransformer Holder definition.

Public Member Functions

virtual MapEvent::Handle  transform (MapEvent::Handle hEvent) const =0
  Transform the specified MapEvent.

Member Function Documentation

virtual MapEvent::Handle transform ( MapEvent::Handle  hEvent  )  const [pure virtual]

Transform the specified MapEvent.

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

Parameters:
hEvent  the original MapEvent object
Returns:
modified MapEvent object or NULL to discard the event

Implemented in MapEventTransformerFilter, ExtractorEventTransformer, and SemiLiteEventTransformer.


The documentation for this class was generated from the following file:
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.