Метод | Описание | |
---|---|---|
BaseExists ( string cacheKey ) : bool | ||
BaseFlush ( ) : void | ||
BaseGet ( string cacheKey ) : CacheValue |
||
BaseGet ( string cacheKey, Func dataRetriever, TimeSpan expiration ) : CacheValue |
||
BaseGetAll ( IEnumerable cacheKeys ) : CacheValue |
||
BaseGetByPrefix ( string prefix ) : CacheValue |
||
BaseGetCount ( string prefix = "" ) : int | ||
BaseGetExpiration ( string cacheKey ) : TimeSpan | ||
BaseGetProviderInfo ( ) : ProviderInfo | ||
BaseRemove ( string cacheKey ) : void | ||
BaseRemoveAll ( IEnumerable cacheKeys ) : void | ||
BaseRemoveByPrefix ( string prefix ) : void | ||
BaseSet ( string cacheKey, cacheValue, TimeSpan expiration ) : void | ||
BaseSetAll ( IDictionary values, TimeSpan expiration ) : void | ||
BaseTrySet ( string cacheKey, cacheValue, TimeSpan expiration ) : bool | ||
DefaultDiskCachingProvider ( string name, EasyCaching.Disk.DiskOptions options, ILoggerFactory loggerFactory = null ) : System |
Метод | Описание | |
---|---|---|
AppendKey ( string key, string md5Key ) : void | ||
BuildDiskCacheValue ( t, TimeSpan ts ) : byte[] | ||
BuildMd5Path ( string key ) : string | ||
BuildRawPath ( string key ) : string | ||
DeleteDirectory ( string path ) : void | ||
DeleteFileWithRetry ( string path ) : bool | ||
GetDiskCacheValue ( string path ) : EasyCaching.Disk.DiskCacheValue | ||
GetFilePath ( string key ) : System | ||
GetMd5Str ( string src ) : string | ||
GetRawPath ( string cacheKey ) : string | ||
Init ( ) : void | ||
InitCacheKey ( ) : void | ||
SaveKeyToFile ( object state ) : void |
public BaseExists ( string cacheKey ) : bool | ||
cacheKey | string | |
Результат | bool |
public BaseGet ( string cacheKey ) : CacheValue |
||
cacheKey | string | |
Результат | CacheValue |
public BaseGet ( string cacheKey, Func dataRetriever, TimeSpan expiration ) : CacheValue |
||
cacheKey | string | |
dataRetriever | Func | |
expiration | TimeSpan | |
Результат | CacheValue |
public BaseGetAll ( IEnumerable cacheKeys ) : CacheValue |
||
cacheKeys | IEnumerable | |
Результат | CacheValue |
public BaseGetByPrefix ( string prefix ) : CacheValue |
||
prefix | string | |
Результат | CacheValue |
public BaseGetCount ( string prefix = "" ) : int | ||
prefix | string | |
Результат | int |
public BaseGetExpiration ( string cacheKey ) : TimeSpan | ||
cacheKey | string | |
Результат | TimeSpan |
public BaseGetProviderInfo ( ) : ProviderInfo | ||
Результат | ProviderInfo |
public BaseRemove ( string cacheKey ) : void | ||
cacheKey | string | |
Результат | void |
public BaseRemoveAll ( IEnumerable cacheKeys ) : void | ||
cacheKeys | IEnumerable | |
Результат | void |
public BaseRemoveByPrefix ( string prefix ) : void | ||
prefix | string | |
Результат | void |
public BaseSet ( string cacheKey, cacheValue, TimeSpan expiration ) : void | ||
cacheKey | string | |
expiration | TimeSpan | |
Результат | void |
public BaseSetAll ( IDictionary values, TimeSpan expiration ) : void | ||
values | IDictionary | |
expiration | TimeSpan | |
Результат | void |
public BaseTrySet ( string cacheKey, cacheValue, TimeSpan expiration ) : bool | ||
cacheKey | string | |
expiration | TimeSpan | |
Результат | bool |
public DefaultDiskCachingProvider ( string name, EasyCaching.Disk.DiskOptions options, ILoggerFactory loggerFactory = null ) : System | ||
name | string | |
options | EasyCaching.Disk.DiskOptions | |
loggerFactory | ILoggerFactory | |
Результат | System |