CacheItemRemovedReason Enumeration |
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
public enum CacheItemRemovedReason
Member name | Value | Description | |
---|---|---|---|
Removed | 0 | Directly removed from the cache, by calling the RemoveItem(String), or an invalidation method that invalidates a cached method directly (not indirectly through dependencies). | |
Expired | 1 | Removed because of AbsoluteExpiration or SlidingExpiration. | |
Evicted | 2 | Evicted to make space for newer cache items. | |
Invalidated | 3 | Indirectly invalidated (through dependencies). | |
Other | 4 | Other (or any reason that cannot be determined). |