#include <coherence/util/ConverterCollections.hpp>
Inherits Object, and MapListener.
Public Types | ||||
typedef spec::Handle | Handle | |||
ConverterMapListener Handle definition. | ||||
typedef spec::View | View | |||
ConverterMapListener View definition. | ||||
typedef spec::Holder | Holder | |||
ConverterMapListener Holder definition. | ||||
Public Member Functions | ||||
virtual void | entryInserted (MapEvent::View vEvent) | |||
Invoked when a map entry has been inserted.
| ||||
virtual void | entryUpdated (MapEvent::View vEvent) | |||
Invoked when a map entry has been updated.
| ||||
virtual void | entryDeleted (MapEvent::View vEvent) | |||
Invoked when a map entry has been removed.
| ||||
virtual bool | equals (Object::View v) const | |||
virtual size32_t | hashCode () const | |||
Return a hash code value for the Object. This method is supported for the benefit of hash-based containers.
The general contract of
The default implementation is identity based.
| ||||
virtual ObservableMap::Handle | getObservableMap () | |||
Get the underlying ObservableMap. | ||||
virtual ObservableMap::View | getObservableMap () const | |||
Get the underlying ObservableMap. | ||||
virtual MapListener::Handle | getMapListener () | |||
Get the underling MapListener. | ||||
virtual MapListener::View | getMapListener () const | |||
Get the underling MapListener. | ||||
virtual Converter::View | getConverterKeyUp () const | |||
Get the Converter used to view an underlying CacheEvent's key through. | ||||
virtual Converter::View | getConverterValueUp () const | |||
Get the Converter used to view an underlying CacheEvent's value through. | ||||
Protected Member Functions | ||||
ConverterMapListener (ObservableMap::Handle hMap, MapListener::Handle hListener, Converter::View vConvKey, Converter::View vConvVal) | ||||
Create a ConverterMapListener that converts events of the underlying MapListener for the underlying map. | ||||
Protected Attributes | ||||
FinalHandle < ObservableMap > | f_hMap | |||
The converting Map the will be the source of converted events. | ||||
FinalHandle < MapListener > | f_hListener | |||
The underlying MapListener. | ||||
FinalView< Converter > | f_vConvKey | |||
The Converter to view an underlying CacheEvent's key. | ||||
FinalView< Converter > | f_vConvVal | |||
The Converter to view an underlying CacheEvent's value. |
virtual ObservableMap::Handle getObservableMap | ( | ) | [virtual] |
virtual ObservableMap::View getObservableMap | ( | ) | const [virtual] |
virtual MapListener::Handle getMapListener | ( | ) | [virtual] |
virtual MapListener::View getMapListener | ( | ) | const [virtual] |
virtual Converter::View getConverterKeyUp | ( | ) | const [virtual] |
virtual Converter::View getConverterValueUp | ( | ) | const [virtual] |