CacheItemPriority Enumeration |
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.6.14.0 (6.6.14.0)
public enum CacheItemPriority
Member name | Value | Description | |
---|---|---|---|
Default | 0 | Default priority means "Default" for System.Runtime.Caching.MemoryCache and it means "Normal" for Microsoft.Extensions.Caching.Memory.IMemoryCache. | |
NotRemovable | 1 | Never removed, unless explicitly required through invalidation methods. | |
Low | 2 | This cache item is removed earlier if the cache needs to be compacted. For MemoryCachingBackend, this is the same as Default. | |
High | 3 | This cache item is removed later if the cache needs to be compacted. For MemoryCachingBackend, this is the same as Default. |