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

Dispatch the CacheEventArgs to the specified Listeners collection.

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

Syntax

C#
public static void Dispatch(
	CacheEventArgs evt,
	Listeners listeners,
	bool isStrict
)

Parameters

evt
Type: Tangosol.Net.Cache..::.CacheEventArgs
The CacheEventArgs.
listeners
Type: Tangosol.Util..::.Listeners
The Listeners collection.
isStrict
Type: System..::.Boolean
If true then any Exception thrown by event handlers stops all further event processing and the exception is re-thrown; if false then all exceptions are logged and the process continues.

Exceptions

ExceptionCondition
System..::.InvalidCastException If any of the targets is not an instance of ICacheListener interface.

See Also