CacheListenerSupportAddListener Method (ICacheListener, Object, Boolean) |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Add a cache listener for a specific key.
Namespace:
Tangosol.Net.Cache.Support
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic virtual void AddListener(
ICacheListener listener,
Object key,
bool isLite
)
Parameters
- listener
- Type: Tangosol.Net.CacheICacheListener
The ICacheListener to add.
- key
- Type: SystemObject
The key that identifies the ICacheEntry for
which to raise events.
- 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.
See Also