Pavalisoft.Caching  1.2.1
A single unified Caching Api for both MemoryCache and DistributedCache implementations including CacheManager
Pavalisoft.Caching.Interfaces.ICachePartition Interface Reference

Represents ICachePartition implementation More...

Inheritance diagram for Pavalisoft.Caching.Interfaces.ICachePartition:
Pavalisoft.Caching.CachePartition

Properties

string Name [get]
 Gets ICachePartition name More...
 
DateTimeOffset? AbsoluteExpiration [get]
 Gets an absolute expiration date for the cache entry in this ICachePartition. More...
 
TimeSpan? AbsoluteExpirationRelativeToNow [get]
 Gets an absolute expiration time, relative to now in this ICachePartition. More...
 
TimeSpan? SlidingExpiration [get]
 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...
 
CacheItemPriority Priority [get]
 Gets the CacheItemPriority applicable for this ICachePartition More...
 
long? Size [get]
 Gets the Size of the ICachePartition More...
 
ICache Cache [get, set]
 Gets or Sets the ICache instance. More...
 

Detailed Description

Represents ICachePartition implementation

Property Documentation

◆ AbsoluteExpiration

DateTimeOffset? Pavalisoft.Caching.Interfaces.ICachePartition.AbsoluteExpiration
get

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

◆ AbsoluteExpirationRelativeToNow

TimeSpan? Pavalisoft.Caching.Interfaces.ICachePartition.AbsoluteExpirationRelativeToNow
get

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

◆ Cache

ICache Pavalisoft.Caching.Interfaces.ICachePartition.Cache
getset

Gets or Sets the ICache instance.

◆ Name

string Pavalisoft.Caching.Interfaces.ICachePartition.Name
get

Gets ICachePartition name

◆ Priority

CacheItemPriority Pavalisoft.Caching.Interfaces.ICachePartition.Priority
get

Gets the CacheItemPriority applicable for this ICachePartition

◆ Size

long? Pavalisoft.Caching.Interfaces.ICachePartition.Size
get

Gets the Size of the ICachePartition

◆ SlidingExpiration

TimeSpan? Pavalisoft.Caching.Interfaces.ICachePartition.SlidingExpiration
get

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).


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