#include <coherence/util/filter/CacheEventFilter.hpp>
Inherits MapEventFilter.
Public Types | |
typedef spec::Handle | Handle |
CacheEventFilter Handle definition. | |
typedef spec::View | View |
CacheEventFilter View definition. | |
typedef spec::Holder | Holder |
CacheEventFilter Holder definition. | |
Public Member Functions | |
virtual bool | evaluate (Object::View v) const |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
virtual bool | equals (Object::View v) const |
virtual size32_t | hashCode () const |
virtual String::View | getDescription () const |
Static Public Attributes | |
static const int32_t | e_synthetic |
Bitmask to select synthetic events. | |
static const int32_t | e_natural |
Bitmask to select natural events. | |
Protected Member Functions | |
CacheEventFilter () | |
Default constructor (necessary for the PortableObject interface). | |
CacheEventFilter (int32_t nMask, int32_t nMaskSynthetic) | |
Construct a CacheEventFilter that evaluates MapEvent objects based on the specified combination of event types. | |
CacheEventFilter (Filter::View vFilter, int32_t nMaskSynthetic) | |
Construct a CacheEventFilter that evaluates MapEvent objects that would affect the results of a keySet filter issued by a previous call to coherence::util::QueryMap::keySet(coherence::util::Filter::View). | |
CacheEventFilter (int32_t nMask, Filter::View vFilter, int32_t nMaskSynthetic) | |
Construct a CacheEventFilter that evaluates MapEvent objects based on the specified combination of event types. | |
Protected Attributes | |
int32_t | m_nMaskSynthetic |
Bitmask that selects whether to include synthetic, natural, or all events. |
CacheEventFilter | ( | int32_t | nMask, | |
int32_t | nMaskSynthetic | |||
) | [protected] |
Construct a CacheEventFilter that evaluates MapEvent objects based on the specified combination of event types.
vFilter | the filter passed previously to a keySet() query method | |
nMaskSynthetic | any combination of e_synthetic and e_natural |
CacheEventFilter | ( | Filter::View | vFilter, | |
int32_t | nMaskSynthetic | |||
) | [protected] |
Construct a CacheEventFilter that evaluates MapEvent objects that would affect the results of a keySet filter issued by a previous call to coherence::util::QueryMap::keySet(coherence::util::Filter::View).
It is possible to easily implement continuous query functionality.
Using this constructor is equivalent to: CacheEventFilter::create(e_keyset, vFilter, nMaskSynthetic);
vFilter | the filter passed previously to a keySet() query method | |
nMaskSynthetic | any combination of e_synthetic and e_natural |
CacheEventFilter | ( | int32_t | nMask, | |
Filter::View | vFilter, | |||
int32_t | nMaskSynthetic | |||
) | [protected] |
Construct a CacheEventFilter that evaluates MapEvent objects based on the specified combination of event types.
nMask | any combination of e_inserted, e_updated, e_deleted, e_updated_entered, e_updated_within, and e_updated_left | |
vFilter | the filter passed previously to a keySet() query method | |
nMaskSynthetic | any combination of e_synthetic and e_natural |