Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Ensure that the specified cache has an Listeners object associated with the specified key and add the specified listener to it.

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

Syntax

C#
protected static void AddSafeListener(
	IDictionary cacheListeners,
	Object key,
	ICacheListener listener
)

Parameters

cacheListeners
Type: System.Collections..::..IDictionary
Dictionary of cache listeners.
key
Type: System..::..Object
Key that specified listener should be associated to.
listener
Type: Tangosol.Net.Cache..::..ICacheListener
Listener to associate to specified key.

See Also