C# 클래스 EFCache.Redis.RedisCache

상속: IRedisCache
파일 보기 프로젝트 열기: silentbobbert/EFCache.Redis

공개 메소드들

메소드 설명
GetItem ( string key, object &value ) : bool
InvalidateItem ( string key ) : void
InvalidateSets ( IEnumerable entitySets ) : void
Purge ( ) : void
PutItem ( string key, object value, IEnumerable dependentEntitySets, System.TimeSpan slidingExpiration, DateTimeOffset absoluteExpiration ) : void
RedisCache ( StackExchange.Redis.ConfigurationOptions options ) : StackExchange.Redis
RedisCache ( StackExchange.Redis.ConfigurationOptions options, string cacheIdentifier ) : StackExchange.Redis
RedisCache ( string config ) : StackExchange.Redis
RedisCache ( string config, string cacheIdentifier ) : StackExchange.Redis

보호된 메소드들

메소드 설명
OnCachingFailed ( Exception e, [ memberName = "" ) : void

비공개 메소드들

메소드 설명
AddCacheQualifier ( string entitySet ) : RedisKey
EntryExpired ( CacheEntry entry, DateTimeOffset now ) : bool
HashKey ( string key ) : string

메소드 상세

GetItem() 공개 메소드

public GetItem ( string key, object &value ) : bool
key string
value object
리턴 bool

InvalidateItem() 공개 메소드

public InvalidateItem ( string key ) : void
key string
리턴 void

InvalidateSets() 공개 메소드

public InvalidateSets ( IEnumerable entitySets ) : void
entitySets IEnumerable
리턴 void

OnCachingFailed() 보호된 메소드

protected OnCachingFailed ( Exception e, [ memberName = "" ) : void
e System.Exception
memberName [
리턴 void

Purge() 공개 메소드

public Purge ( ) : void
리턴 void

PutItem() 공개 메소드

public PutItem ( string key, object value, IEnumerable dependentEntitySets, System.TimeSpan slidingExpiration, DateTimeOffset absoluteExpiration ) : void
key string
value object
dependentEntitySets IEnumerable
slidingExpiration System.TimeSpan
absoluteExpiration DateTimeOffset
리턴 void

RedisCache() 공개 메소드

public RedisCache ( StackExchange.Redis.ConfigurationOptions options ) : StackExchange.Redis
options StackExchange.Redis.ConfigurationOptions
리턴 StackExchange.Redis

RedisCache() 공개 메소드

public RedisCache ( StackExchange.Redis.ConfigurationOptions options, string cacheIdentifier ) : StackExchange.Redis
options StackExchange.Redis.ConfigurationOptions
cacheIdentifier string
리턴 StackExchange.Redis

RedisCache() 공개 메소드

public RedisCache ( string config ) : StackExchange.Redis
config string
리턴 StackExchange.Redis

RedisCache() 공개 메소드

public RedisCache ( string config, string cacheIdentifier ) : StackExchange.Redis
config string
cacheIdentifier string
리턴 StackExchange.Redis