CacheItemRemovedReason Enum
Enumerates the reasons why an item can be removed from the cache.
Namespace: Metalama.Patterns.Caching.Implementation
Assembly: Metalama.Patterns.Caching.Backend.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). |