Class TwoLayerCachingBackendEnhancer
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.
Implements
Namespace: PostSharp.Patterns.Caching.Backends
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public sealed class TwoLayerCachingBackendEnhancer : CachingBackendEnhancer
Constructors
Name | Description |
---|---|
TwoLayerCachingBackendEnhancer(CachingBackend, MemoryCachingBackend) | Initializes a new TwoLayerCachingBackendEnhancer. |
Properties
Name | Description |
---|---|
LocalCache | Gets the in-memory local cache. |