Pavalisoft.Caching  1.2.1
A single unified Caching Api for both MemoryCache and DistributedCache implementations including CacheManager
Pavalisoft.Caching.Cache.ExtendedDistributedCacheEntryOptions Class Reference

Provides the cache options in DistributedCacheEntryOptions with Expiration tokens support More...

Inheritance diagram for Pavalisoft.Caching.Cache.ExtendedDistributedCacheEntryOptions:

Properties

IList< IChangeToken > ExpirationTokens = new List<IChangeToken>() [get]
 Gets the IChangeToken instances which cause the cache entry to expire. More...
 
IList< PostEvictionCallbackRegistration > PostEvictionCallbacks [get]
 Gets or sets the callbacks will be fired after the cache entry is evicted from the cache. More...
 
CacheItemPriority Priority = CacheItemPriority.Normal [get, set]
 Gets or sets the priority for keeping the cache entry in the cache during a memory pressure triggered cleanup. The default is CacheItemPriority.Normal. More...
 
long? Size [get, set]
 Gets or sets the size of the cache entry value. More...
 

Detailed Description

Provides the cache options in DistributedCacheEntryOptions with Expiration tokens support

Property Documentation

◆ ExpirationTokens

IList<IChangeToken> Pavalisoft.Caching.Cache.ExtendedDistributedCacheEntryOptions.ExpirationTokens = new List<IChangeToken>()
get

Gets the IChangeToken instances which cause the cache entry to expire.

◆ PostEvictionCallbacks

IList<PostEvictionCallbackRegistration> Pavalisoft.Caching.Cache.ExtendedDistributedCacheEntryOptions.PostEvictionCallbacks
get

Gets or sets the callbacks will be fired after the cache entry is evicted from the cache.

◆ Priority

CacheItemPriority Pavalisoft.Caching.Cache.ExtendedDistributedCacheEntryOptions.Priority = CacheItemPriority.Normal
getset

Gets or sets the priority for keeping the cache entry in the cache during a memory pressure triggered cleanup. The default is CacheItemPriority.Normal.

◆ Size

long? Pavalisoft.Caching.Cache.ExtendedDistributedCacheEntryOptions.Size
getset

Gets or sets the size of the cache entry value.


The documentation for this class was generated from the following file: