Open sandboxFocus

Namespace Metalama.Patterns.Caching.Building

Classes

CachingBackendBuilder

The initial object of the CachingBackend factory fluent API.

CachingBackendFactory

Extension methods for CachingBackendBuilder that create specific caching backend implementations.

CachingServiceFactory

Extension methods to IServiceCollection for configuring Metalama Caching with dependency injection.

ConcreteCachingBackendBuilder

A base class for a CachingBackendBuilder able to create an instance of the CachingBackend class.

CreateBackendArgs

Arguments of the CreateBackend(CreateBackendArgs) method.

LayeredCachingBackendBuilder

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

MemoryCachingBackendBuilder

A CachingBackendBuilder that returns an in-memory, in-process caching back-end, backed by an IMemoryCache.

OutOfProcessCachingBackendBuilder

A base class for CachingBackendBuilder representing an out-of-process cache. These back-ends can be further enhanced with an in-memory L1 layer through the WithL1(OutOfProcessCachingBackendBuilder, LayeredCachingBackendConfiguration?) methods.

Interfaces

ICachingServiceBuilder

Builder interface for configuring a CachingService instance, providing methods to configure caching profiles, backends, value adapters, and key builders.