Skip to content

SlidingCacheEvictionReason Enum ​

Indicates why a cache entry was evicted.

Namespace: JASE.Caching
Assembly: JASE.Caching.dll

Underlying Type int

Fields ​

NameValueDescription
Expired0The entry exceeded its sliding time-to-live.
Removed1The entry was explicitly removed via TryRemove.
Replaced2The entry was replaced by a call to Set.
Size3The entry was evicted to enforce the maximum cache size.