Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/MapListenerSupport.hpp>
Inherits CacheEvent.
An extension of the CacheEvent which may carry no values (old or new), but instead holds an array of Filter objects being the "cause" of the event.
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] |
The documentation for this class was generated from the following file: