IObservableCacheAddCacheListener Method (ICacheListener, IFilter, Boolean) |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Add a cache listener that receives events based on a filter
evaluation.
Namespace:
Tangosol.Net.Cache
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxvoid AddCacheListener(
ICacheListener listener,
IFilter filter,
bool isLite
)
Parameters
- listener
- Type: Tangosol.Net.CacheICacheListener
The ICacheListener to add. - filter
- Type: Tangosol.UtilIFilter
A filter that will be passed CacheEventArgs objects to
select from; a CacheEventArgs will be delivered to the
listener only if the filter evaluates to true for that
CacheEventArgs; null is equivalent to a filter
that alway returns true.
- isLite
- Type: SystemBoolean
true to indicate that the CacheEventArgs
objects do not have to include the OldValue and
NewValue property values in order to allow optimizations.
Remarks
See Also