PostSharp.Patterns.Caching.Backends Namespace |
Class | Description | |
---|---|---|
MemoryCacheBackend |
A CachingBackend based on Microsoft.Extensions.Caching.Memory.IMemoryCache (IMemoryCache).
This cache is recommended for ASP.NET Core use (as opposed to System.Runtime.Caching.MemoryCache).
| |
MemoryCacheValue |
Meant to be used by caching backends. It's a CacheValue with an extra object that functions as a lock. Do not use this if you're not
implementing a CachingBackend.
| |
MemoryCachingBackend |
A CachingBackend based on System.Runtime.Caching.MemoryCache (MemoryCache). This cache is part of .NET Framework
and is available for .NET Standard in the NuGet package System.Runtime.Caching.
| |
NonBlockingCachingBackendEnhancer |
A CachingBackendEnhancer that modifies all write operations to run in the background and
immediately return to the caller.
| |
NullCachingBackend |
An implementation of CachingBackend that does not cache at all.
| |
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.
| |
TwoLayerCachingBackendEnhancer.TwoLayerCacheValue |
The object stored in the remote class.
| |
UninitializedCachingBackend |
A CachingBackend that throws an exception when it's used. This is the active default backend until you see DefaultBackend to something else.
|