Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47891-01

MultiplexingMapListener Class Reference

#include <coherence/util/MultiplexingMapListener.hpp>

Inherits Object, and MapListener.

Inherited by CachingMap::BackMapListener, and MapTriggerListener.

List of all members.


Detailed Description

A base class that simplifies the implementation of a MapListener by multiplexing all events into a single listener method.

Author:
djl 2008.06.23

Public Types

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

Public Member Functions

virtual void onMapEvent (MapEvent::View vEvent)=0
 Invoked when a map entry has been inserted, updated or deleted.
virtual void entryInserted (MapEvent::View vEvent)
 Invoked when a map entry has been inserted.

Parameters:
vEvent the MapEvent carrying the insert information

virtual void entryUpdated (MapEvent::View vEvent)
 Invoked when a map entry has been updated.

Parameters:
vEvent the MapEvent carrying the update information

virtual void entryDeleted (MapEvent::View vEvent)
 Invoked when a map entry has been removed.

Parameters:
vEvent the MapEvent carrying the delete information


Member Function Documentation

virtual void onMapEvent ( MapEvent::View  vEvent  )  [pure virtual]

Invoked when a map entry has been inserted, updated or deleted.

To determine what action has occurred, use MapEvent::getId().

Parameters:
vEvent the MapEvent carrying the insert, update or delete information

Implemented in MapTriggerListener.


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