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

E47891-01

LocalCache::InternalListener Class Reference

#include <coherence/net/cache/LocalCache.hpp>

Inherits Object, and MapListener.

List of all members.


Detailed Description

An internal MapListener that listens to this cache and reports changes to the CacheStore.

Public Types

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

Public Member Functions

virtual void entryInserted (MapEvent::View vEvt)
 Invoked when a map entry has been inserted.
virtual void entryUpdated (MapEvent::View vEvt)
 Invoked when a map entry has been updated.
virtual void entryDeleted (MapEvent::View vEvt)
 Invoked when a map entry has been removed.

Protected Member Functions

 InternalListener (LocalCache::Handle hCache)
 Construct a new InternalListener.
virtual void onModify (MapEvent::View vEvt)
 A value modification event (insert or update) has occurred.

Protected Attributes

WeakHandle< LocalCachem_hCache
 Reference back to the containing cache.

Member Function Documentation

virtual void entryInserted ( MapEvent::View  vEvt  )  [virtual]

Invoked when a map entry has been inserted.

Parameters:
vEvt the MapEvent carrying the insert information

virtual void entryUpdated ( MapEvent::View  vEvt  )  [virtual]

Invoked when a map entry has been updated.

Parameters:
vEvt the MapEvent carrying the update information

virtual void entryDeleted ( MapEvent::View  vEvt  )  [virtual]

Invoked when a map entry has been removed.

Parameters:
vEvt the MapEvent carrying the delete information

virtual void onModify ( MapEvent::View  vEvt  )  [protected, virtual]

A value modification event (insert or update) has occurred.

Parameters:
vEvt the MapEvent object


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