Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ContinuousQueryCache..::.AddCacheListener Method (ICacheListener)
ContinuousQueryCache Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Add a standard cache listener that will receive all events (inserts, updates, deletes) that occur against the cache, with the key, old-value and new-value included.

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

# Syntax

C#
    public virtual void AddCacheListener(
    	ICacheListener listener
    )

#### Parameters

listener
  Type: Tangosol.Net.Cache..::.ICacheListener
  The ICacheListener to add.

#### Implements

IObservableCache..::.AddCacheListener(ICacheListener)

# Remarks

This has the same result as the following call:

                AddCacheListener(listener, (IFilter) null, false);

# See Also

ContinuousQueryCache Class
AddCacheListener Overload
Tangosol.Net.Cache Namespace