Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Add a cache listener for a specific key.

Namespace:  Tangosol.Net.Cache.Support
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public virtual void AddListener(
	ICacheListener listener,
	Object key,
	bool isLite
)

Parameters

listener
Type: Tangosol.Net.Cache..::.ICacheListener
The ICacheListener to add.
key
Type: System..::.Object
The key that identifies the ICacheEntry for which to raise events.
isLite
Type: System..::.Boolean
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