MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​BuildingLayered­Caching­Backend­Builder
Open sandboxFocus

LayeredCachingBackendBuilder Class

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

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

Methods

Name Description
CreateBackend(CreateBackendArgs)
WithMemoryCache(IMemoryCache)
WithMemoryCacheOptions(MemoryCacheOptions)

Extension Methods

CachingBackendFactory.Uninitialized(CachingBackendBuilder)
CachingBackendFactory.Memory(CachingBackendBuilder, MemoryCachingBackendConfiguration)
CachingBackendFactory.Specific(CachingBackendBuilder, CachingBackend)
CachingBackendFactory.Null(CachingBackendBuilder)
RedisCachingFactory.Redis(CachingBackendBuilder, RedisCachingBackendConfiguration)