Click or drag to resize

ContinuousQueryCache Constructor (FuncINamedCache, IFilter, Boolean, ICacheListener, IValueExtractor)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Initialize the ContinuousQueryCache.

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public ContinuousQueryCache(
	Func<INamedCache> supplierCache,
	IFilter filter,
	bool cacheValues,
	ICacheListener cacheListener,
	IValueExtractor transformer
)

Parameters

supplierCache
Type: SystemFuncINamedCache
The Func returning an INamedCache with which this ContinuousQueryCache will be created. The Func must return a new instance each time it is invoked.
filter
Type: Tangosol.UtilIFilter
The filter that defines the view.
cacheValues
Type: SystemBoolean
Pass true to cache both the keys and values of the materialized view locally, or false to only cache the keys.
cacheListener
Type: Tangosol.Net.CacheICacheListener
The optional ICacheListener that will receive all events starting from the initialization of the ContinuousQueryCache.
transformer
Type: Tangosol.UtilIValueExtractor
The transformer that should be used to convert values from the underlying cache before storing them locally
See Also