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

Represents the Cache Partition Configuration Information More...

Properties

string Name [get, set]
 Gets ICachePartition name More...
 
DateTimeOffset? AbsoluteExpiration [get, set]
 Gets an absolute expiration date for the cache entry in this ICachePartition. More...
 
TimeSpan? AbsoluteExpirationRelativeToNow [get, set]
 Gets an absolute expiration time, relative to now in this ICachePartition. More...
 
TimeSpan? SlidingExpiration [get, set]
 Gets how long a cache entry can be inactive (e.g. not accessed) before it will be removed in this ICachePartition. This will not extend the entry lifetime beyond the absolute expiration (if set). More...
 
string StoreName [get, set]
 Gets the Cache Store name in this ICachePartition More...
 
CacheItemPriority Priority [get, set]
 Gets the CacheItemPriority applicable for this ICachePartition More...
 
long? Size [get, set]
 Gets the Size of the ICachePartition More...
 

Detailed Description

Represents the Cache Partition Configuration Information

Property Documentation

◆ AbsoluteExpiration

DateTimeOffset? Pavalisoft.Caching.CachePartitionDefinition.AbsoluteExpiration
getset

Gets an absolute expiration date for the cache entry in this ICachePartition.

◆ AbsoluteExpirationRelativeToNow

TimeSpan? Pavalisoft.Caching.CachePartitionDefinition.AbsoluteExpirationRelativeToNow
getset

Gets an absolute expiration time, relative to now in this ICachePartition.

◆ Name

string Pavalisoft.Caching.CachePartitionDefinition.Name
getset

Gets ICachePartition name

◆ Priority

CacheItemPriority Pavalisoft.Caching.CachePartitionDefinition.Priority
getset

Gets the CacheItemPriority applicable for this ICachePartition

◆ Size

long? Pavalisoft.Caching.CachePartitionDefinition.Size
getset

Gets the Size of the ICachePartition

◆ SlidingExpiration

TimeSpan? Pavalisoft.Caching.CachePartitionDefinition.SlidingExpiration
getset

Gets how long a cache entry can be inactive (e.g. not accessed) before it will be removed in this ICachePartition. This will not extend the entry lifetime beyond the absolute expiration (if set).

◆ StoreName

string Pavalisoft.Caching.CachePartitionDefinition.StoreName
getset

Gets the Cache Store name in this ICachePartition


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