C# 클래스 EasyCaching.Disk.DefaultDiskCachingProvider

상속: EasyCachingAbstractProvider
파일 보기 프로젝트 열기: mindbox-moscow/EasyCaching

공개 메소드들

메소드 설명
BaseExists ( string cacheKey ) : bool
BaseFlush ( ) : void
BaseGet ( string cacheKey ) : CacheValue
BaseGet ( string cacheKey, Func dataRetriever, TimeSpan expiration ) : CacheValue
BaseGetAll ( IEnumerable cacheKeys ) : CacheValue>.IDictionary
BaseGetByPrefix ( string prefix ) : CacheValue>.IDictionary
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

메소드 상세

BaseExists() 공개 메소드

public BaseExists ( string cacheKey ) : bool
cacheKey string
리턴 bool

BaseFlush() 공개 메소드

public BaseFlush ( ) : void
리턴 void

BaseGet() 공개 메소드

public BaseGet ( string cacheKey ) : CacheValue
cacheKey string
리턴 CacheValue

BaseGet() 공개 메소드

public BaseGet ( string cacheKey, Func dataRetriever, TimeSpan expiration ) : CacheValue
cacheKey string
dataRetriever Func
expiration TimeSpan
리턴 CacheValue

BaseGetAll() 공개 메소드

public BaseGetAll ( IEnumerable cacheKeys ) : CacheValue>.IDictionary
cacheKeys IEnumerable
리턴 CacheValue>.IDictionary

BaseGetByPrefix() 공개 메소드

public BaseGetByPrefix ( string prefix ) : CacheValue>.IDictionary
prefix string
리턴 CacheValue>.IDictionary

BaseGetCount() 공개 메소드

public BaseGetCount ( string prefix = "" ) : int
prefix string
리턴 int

BaseGetExpiration() 공개 메소드

public BaseGetExpiration ( string cacheKey ) : TimeSpan
cacheKey string
리턴 TimeSpan

BaseGetProviderInfo() 공개 메소드

public BaseGetProviderInfo ( ) : ProviderInfo
리턴 ProviderInfo

BaseRemove() 공개 메소드

public BaseRemove ( string cacheKey ) : void
cacheKey string
리턴 void

BaseRemoveAll() 공개 메소드

public BaseRemoveAll ( IEnumerable cacheKeys ) : void
cacheKeys IEnumerable
리턴 void

BaseRemoveByPrefix() 공개 메소드

public BaseRemoveByPrefix ( string prefix ) : void
prefix string
리턴 void

BaseSet() 공개 메소드

public BaseSet ( string cacheKey, cacheValue, TimeSpan expiration ) : void
cacheKey string
expiration TimeSpan
리턴 void

BaseSetAll() 공개 메소드

public BaseSetAll ( IDictionary values, TimeSpan expiration ) : void
values IDictionary
expiration TimeSpan
리턴 void

BaseTrySet() 공개 메소드

public BaseTrySet ( string cacheKey, cacheValue, TimeSpan expiration ) : bool
cacheKey string
expiration TimeSpan
리턴 bool

DefaultDiskCachingProvider() 공개 메소드

public DefaultDiskCachingProvider ( string name, EasyCaching.Disk.DiskOptions options, ILoggerFactory loggerFactory = null ) : System
name string
options EasyCaching.Disk.DiskOptions
loggerFactory ILoggerFactory
리턴 System