#include <coherence/util/MapListenerSupport.hpp>
Inherits CacheEvent.
Public Types | ||||
typedef spec::Handle | Handle | |||
FilterEvent Handle definition. | ||||
typedef spec::View | View | |||
FilterEvent View definition. | ||||
typedef spec::Holder | Holder | |||
FilterEvent Holder definition. | ||||
Public Member Functions | ||||
virtual ObjectArray::View | getFilter () const | |||
Return an array of filters that are the cause of this event. | ||||
virtual void | outputDescription (std::ostream &out) const | |||
Output a human-readable description of the state of this class in the form of a delimited list of name-value pairs. Generally it is also advisable to start with a call to super::outputDescription(out) The default implementation does not output anything to the stream.
| ||||
virtual bool | containsFilter (Filter::View vFilter) const | |||
Determine if this filter event contains a specified filter. | ||||
Protected Member Functions | ||||
FilterEvent (ObservableMap::Handle hMap, int32_t nId, Object::View vKey, Object::View vValueOld, Object::View vValueNew, bool fSynthetic, ObjectArray::Handle haFilters) | ||||
Create a new FilterEvent with no old and new values. | ||||
Protected Attributes | ||||
MemberHandle < ObjectArray > | m_haFilters | |||
Filters which caused the event. |
FilterEvent | ( | ObservableMap::Handle | hMap, | |
int32_t | nId, | |||
Object::View | vKey, | |||
Object::View | vValueOld, | |||
Object::View | vValueNew, | |||
bool | fSynthetic, | |||
ObjectArray::Handle | haFilters | |||
) | [protected] |
Create a new FilterEvent with no old and new values.
hMap | the map on which the Event initially occurred | |
nId | the events id (ENTRY_INSERTED | ENTRY_UPDATED | ENTRY_DELETED) | |
vKey | the key into the map | |
fSynthetic | true iff the event is caused by internal cache processing such as eviction or loading | |
haFilters | an array of Filters |
virtual ObjectArray::View getFilter | ( | ) | const [virtual] |
Return an array of filters that are the cause of this event.
virtual bool containsFilter | ( | Filter::View | vFilter | ) | const [virtual] |