Open sandboxFocus

Namespace Metalama.Patterns.Caching.Implementation

Classes

BackgroundTaskScheduler

CacheDependencyInvalidatedEventArgs

Arguments of the DependencyInvalidated event.

CacheItem

Represents an item being added to the cache.

CacheItemRemovedEventArgs

Arguments of the ItemRemoved event.

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.

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).

Structs

StringTokenizer

Interfaces

IBackgroundTaskSchedulerObserver

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.

Enums

CacheItemPriority

Enumerates the priorities of a CacheItem.

CacheItemRemovedReason

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