#include <MPxCacheConfigRuleFilter.h>
Proxy class for defining a new caching rule filter.
Caching rules are defined through the cacheEvaluator command. They can be built using filter/action pairs. This class allows defining a custom caching rule filter.
See also: MCacheConfigRuleRegistry
Public Member Functions | |
virtual void | preRulesExecution () |
Called when cache configuration rule application starts. More... | |
virtual void | postRulesExecution () |
Called when cache configuration rule application stops. More... | |
virtual bool | isMatch (const MEvaluationNode &evalNode) |
Will be called for each evaluation node when filter/action rules are applied for the cache configuration. More... | |
|
virtual |
Called when cache configuration rule application starts.
Note: this default implementation does nothing, so it is not necessary to call it from derived classes.
|
virtual |
Called when cache configuration rule application stops.
Note: this default implementation does nothing, so it is not necessary to call it from derived classes.
|
virtual |
Will be called for each evaluation node when filter/action rules are applied for the cache configuration.
If the filter matches (returns true), then the associated action will be called.
Note: This default implementation returns false for all nodes and does not need to be called by derived classes.
[in] | evalNode | the evaluation node to match |