Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 BaseGet ( string cacheKey ) : CacheValue |
||
cacheKey | string | |
return | CacheValue |
public BaseGet ( string cacheKey, Func dataRetriever, TimeSpan expiration ) : CacheValue |
||
cacheKey | string | |
dataRetriever | Func | |
expiration | TimeSpan | |
return | CacheValue |
public BaseGetAll ( IEnumerable cacheKeys ) : CacheValue |
||
cacheKeys | IEnumerable | |
return | CacheValue |
public BaseGetByPrefix ( string prefix ) : CacheValue |
||
prefix | string | |
return | CacheValue |
public BaseGetCount ( string prefix = "" ) : int | ||
prefix | string | |
return | int |
public BaseGetExpiration ( string cacheKey ) : TimeSpan | ||
cacheKey | string | |
return | TimeSpan |
public BaseGetProviderInfo ( ) : ProviderInfo | ||
return | ProviderInfo |
public BaseRemoveAll ( IEnumerable cacheKeys ) : void | ||
cacheKeys | IEnumerable | |
return | void |
public BaseRemoveByPrefix ( string prefix ) : void | ||
prefix | string | |
return | void |
public BaseSet ( string cacheKey, cacheValue, TimeSpan expiration ) : void | ||
cacheKey | string | |
expiration | TimeSpan | |
return | void |
public BaseSetAll ( IDictionary values, TimeSpan expiration ) : void | ||
values | IDictionary | |
expiration | TimeSpan | |
return | void |
public BaseTrySet ( string cacheKey, cacheValue, TimeSpan expiration ) : bool | ||
cacheKey | string | |
expiration | TimeSpan | |
return | bool |
public DefaultDiskCachingProvider ( string name, EasyCaching.Disk.DiskOptions options, ILoggerFactory loggerFactory = null ) : System | ||
name | string | |
options | EasyCaching.Disk.DiskOptions | |
loggerFactory | ILoggerFactory | |
return | System |