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: 12.1.2.0 (12.1.2.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