Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Create a materialized view of an INamedCache using an IFilter.

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

Syntax

C#
public ContinuousQueryCache(
	INamedCache cache,
	IFilter filter,
	ICacheListener listener
)

Parameters

cache
Type: Tangosol.Net..::..INamedCache
The INamedCache to create a view of.
filter
Type: Tangosol.Util..::..IFilter
The IFilter that defines the view.
listener
Type: Tangosol.Net.Cache..::..ICacheListener
An initial ICacheListener that will receive all the events from the ContinuousQueryCache, including those corresponding to its initial population.

Remarks

A materialized view is an implementation of Continuous Query exposed through the standard INamedCache API. This constructor allows a client to receive all events, including those that result from the initial population of the ContinuousQueryCache. In other words, all contents of the ContinuousQueryCache will be delivered to the listener as a sequence of events, including those items that already exist in the underlying (unfiltered) cache. Note that this constructor will always result in both the keys and values being cached locally if a listener is passed.

See Also