Open sandboxFocus

Class LayeredCachingBackendBuilder

A CachingBackendBuilder that adds an in-memory L1 cache in front a another, typically out-of-process, cache.

Inheritance
LayeredCachingBackendBuilder
Namespace: Metalama.Patterns.Caching.Building
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public sealed class LayeredCachingBackendBuilder : ConcreteCachingBackendBuilder

Methods

Name Description
CreateBackend(CreateBackendArgs)

Creates the CachingBackend.

WithMemoryCache(IMemoryCache)
WithMemoryCacheOptions(MemoryCacheOptions)

Extension Methods