Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
CompositeCache Constructor (ICache, ICache)
CompositeCache Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Construct a CompositeCache using two specified caches:

- FrontCache (aka "cache", "near" or "shallow")
- BackCache (aka "actual", "real" or "deep")

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

# Syntax

C#
    public CompositeCache(
    	ICache front,
    	ICache back
    )

#### Parameters

front
  Type: Tangosol.Net.Cache..::.ICache
  The front cache.

back
  Type: Tangosol.Net.Cache..::.ICache
  The back cache.

# Remarks

If the BackCache implements the IObservableCache interface a listener will be added to the BackCache to invalidate FrontCache items updated [externally] in the back cache using the ListenAuto strategy.

# See Also

CompositeCache Class
CompositeCache Overload
Tangosol.Net.Cache Namespace