#include <coherence/util/ConverterCollections.hpp>
Inherits CacheEvent.
Public Types | |
typedef spec::Handle | Handle |
ConverterCacheEvent Handle definition. | |
typedef spec::View | View |
ConverterCacheEvent View definition. | |
typedef spec::Holder | Holder |
ConverterCacheEvent Holder definition. | |
Public Member Functions | |
virtual Object::View | getKey () const |
Return a key associated with this event.
| |
virtual Object::View | getOldValue () const |
Return an old value associated with this event. The old value represents a value deleted from or updated in a map. It is always NULL for "insert" notifications.
| |
virtual Object::View | getNewValue () const |
Return a new value associated with this event. The new value represents a new value inserted into or updated in a map. It is always NULL for "delete" notifications.
| |
virtual CacheEvent::View | getCacheEvent () const |
Return the underlying CacheEvent. | |
virtual Converter::View | getConverterKeyUp () const |
Return the Converter used to view the underlying CacheEvent's key through. | |
virtual Converter::View | getConverterValueUp () const |
Return the Converter used to view the underlying CacheEvent's value through. | |
virtual void | setOldValue (Object::View voValue) |
Set the cached converted old value associated with this event. | |
virtual void | setNewValue (Object::View voValue) |
Set the cached converted new value associated with this event. | |
Protected Member Functions | |
ConverterCacheEvent (ObservableMap::Handle hMap, CacheEvent::View vEvent, Converter::View vConvKey, Converter::View vConvVal) | |
Create a ConverterCacheEvent. | |
Protected Attributes | |
FinalView< CacheEvent > | f_vEvent |
The underlying CacheEvent. | |
FinalView< Converter > | f_vConvKey |
The Converter to view the underlying CacheEvent's key. | |
FinalView< Converter > | f_vConvVal |
The Converter to view the underlying CacheEvent's value. |
ConverterCacheEvent | ( | ObservableMap::Handle | hMap, | |
CacheEvent::View | vEvent, | |||
Converter::View | vConvKey, | |||
Converter::View | vConvVal | |||
) | [protected] |
Create a ConverterCacheEvent.
virtual CacheEvent::View getCacheEvent | ( | ) | const [virtual] |
Return the underlying CacheEvent.
virtual Converter::View getConverterKeyUp | ( | ) | const [virtual] |
virtual Converter::View getConverterValueUp | ( | ) | const [virtual] |
virtual void setOldValue | ( | Object::View | voValue | ) | [virtual] |
Set the cached converted old value associated with this event.
voValue | the new converted "old" value |
virtual void setNewValue | ( | Object::View | voValue | ) | [virtual] |
Set the cached converted new value associated with this event.
voValue | the new converted "new" value |