MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Implementation
Open sandboxFocus

Metalama.Patterns.Caching.Implementation Namespace

Classes

BackgroundTaskScheduler

CacheDependencyInvalidatedEventArgs

Arguments of the DependencyInvalidated event.

CacheItem

Represents an item being added to the cache.

CacheItemPriority

Enumerates the priorities of a CacheItem.

CacheItemRemovedEventArgs

Arguments of the ItemRemoved event.

CacheItemRemovedReason

Enumerates the reasons why an item can be removed from the cache.

CacheSynchronizer

Base class for a kind of CachingBackendEnhancer that allows several instances of the same application to use a local cache, and synchronize themselves by sending invalidation messages over a publish/subscribe channel.

CacheSynchronizerConfiguration

Options for the CacheSynchronizer class.

CacheValue

Return value of the GetItem(String, Boolean) method, i.e. represents an item retrieved from the cache (items being stored in the cache are represented by the CacheItem class).

CachingBackendEnhancer

A base class for all cache enhancers. A CachingBackendEnhancer is a node in a chain of responsibility where the last node is the physical implementation of the CachingBackend. A CachingBackendEnhancer can add behaviors to a CachingBackend.

CachingBackendFeatures

List of features that can be implemented or not by a CachingBackend.

CachingExceptionInfo

Arguments of OnException(CachingExceptionInfo).

StringTokenizer

Interfaces

ICacheItemConfiguration

Configuration of a cached method determined at compile time.

ICachingExceptionObserver

Exposes a method OnException(CachingExceptionInfo) called when a CachingBackend encounters a recoverable error. The default behavior is to log the error and continue the execution. An application can implement an observer and register it to the IServiceProvider.