PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends Namespace

PostSharp.Patterns.Caching.Backends Namespace

This namespace contains implementations of adapters for specific caching back-ends.
Public classMemoryCachingBackend
A CachingBackend based on the system MemoryCache.
Public classNonBlockingCachingBackendEnhancer
A CachingBackendEnhancer that modifies all write operations to run in the background and immediately return to the caller.
Public classNullCachingBackend
An implementation of CachingBackend that does not cache at all.
Public classTwoLayerCachingBackendEnhancer
A CachingBackendEnhancer that adds a local (fast) MemoryCachingBackend to a remote (slower) cache. This class is typically instantiate in the back-end factory method. You should normally not use this class unless you develop a custom caching back-end.
Public classTwoLayerCachingBackendEnhancer.TwoLayerCacheValue
The object stored in the remote class.