Open sandboxFocus

Namespace Metalama.Patterns.Caching

Classes

CacheItemConfiguration

Configuration of a CacheItem, specifying expiration, priority, and profile settings.

CachedMethodConfiguration

CachedMethodMetadata

Encapsulates information about a method being cached. This cached is used by the implementation of ICachingService and you can use it if you override the CacheKeyBuilder class.

CachingAssertionFailedException

Exception thrown upon internal assertion failures in the Flashtrace.Formatters library.

CachingException

Exception thrown by Metalama.Patterns.Caching.

CachingProfile

Set of options defined at run time when the CachingService is instantiated. Classes and methods can be assigned to a CachingProfile using the ProfileName option or attribute property. Any compile-time setting takes precedence over the values defined in the CachingProfile.

CachingProfileRegistry

Exposes the profiles registered in the CachingService.

CachingService

Default implementation of the ICachingService interface, providing the run-time caching infrastructure.

CachingServiceExtensions

Extension methods for the ICachingService interface, providing methods for cache invalidation, dependency management, and cache refresh operations.

InvalidCacheItemException

Exception thrown by a caching back-end during cache item retrieval (e.g. when the cached data cannot be serialized by the current object model). Throwing this exception causes removal of the invalid item.

NotCacheKeyAttribute

Custom attribute that, when applied to a parameter of a cached method (i.e. a method enhanced by the CacheAttribute aspect), excludes this parameter from being a part of the cache key.

NullCachingService

Interfaces

ICachingService

Front-end interface used by the caching aspects and for imperative cache invalidation.