Click or drag to resize

NearCache Constructor (ICache, INamedCache, CompositeCacheStrategyType)

.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Construct a NearCache, using a backINamedCache as the complete (back) storage and frontICache as a near (front) storage using the CompositeCacheStrategyType invalidation strategy.

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntax
C#
public NearCache(
	ICache front,
	INamedCache back,
	CompositeCacheStrategyType strategy
)

Parameters

front
Type: Tangosol.Net.CacheICache
ICache to put in front of the back cache.
back
Type: Tangosol.NetINamedCache
INamedCache to put behind the front cache.
strategy
Type: Tangosol.Net.CacheCompositeCacheStrategyType
Specifies the strategy used for the front cache invalidation; valid values are: ListenNoneListenPresentListenAllListenAuto
See Also