Open sandboxFocus

Namespace PostSharp.Patterns.Caching.Implementation

Classes

CacheDependencyInvalidatedEventArgs

Arguments of the DependencyInvalidated event.

CacheInvalidator

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.

CacheInvalidatorOptions

Options for the CacheInvalidator class.

CacheItem

Represents an item being added to the cache.

CacheItem.Serializer

CacheItemConfiguration

Configuration of a CacheItem.

CacheItemConfiguration.Serializer

CacheItemRemovedEventArgs

Arguments of the ItemRemoved event.

CacheKeyBuilder

Builds cache item keys and dependency keys.

CacheValue

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

CachedMethodInfo

Encapsulates information about a method being cached.

CachedParameterInfo

Encapsulates information about a parameter of a method being cached. Exposed by the CachedMethodInfo class.

CachingBackend

An abstraction of the physical implementation of the cache, where the CacheAttribute ends up writing to and reading from.

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.

CachingBackendEnhancerFeatures

An abstract implementation of CachingBackendEnhancerFeatures for use in implementations of CachingBackendEnhancer, where the default behavior is to return the features of the underlying CachingBackend.

CachingBackendFeatures

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

Interfaces

ICacheItemConfiguration

Configuration of a cached method. This interface is implemented by several classes that allow to configure cached method.

Enums

CacheItemPriority

Enumerates the priorities of a CacheItem.

CacheItemRemovedReason

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

CachingBackendStatus

Statuses of a CachingBackend.