Enumerates the reasons why an item can be removed from the cache.
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public enum CacheItemRemovedReason
Fields
Name | Description |
---|---|
Evicted | Evicted to make space for newer cache items. |
Expired | Removed because of AbsoluteExpiration or SlidingExpiration. |
Invalidated | Indirectly invalidated (through dependencies). |
Other | Other (or any reason that cannot be determined). |
Removed | Directly removed from the cache, by calling the RemoveItem(string), or an invalidation method that invalidates a cached method directly (not indirectly through dependencies). |