C# Class EFCache.Redis.RedisCache

Inheritance: IRedisCache
Afficher le fichier Open project: silentbobbert/EFCache.Redis

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
OnCachingFailed ( Exception e, [ memberName = "" ) : void

Private Methods

Méthode Description
AddCacheQualifier ( string entitySet ) : RedisKey
EntryExpired ( CacheEntry entry, DateTimeOffset now ) : bool
HashKey ( string key ) : string

Method Details

GetItem() public méthode

public GetItem ( string key, object &value ) : bool
key string
value object
Résultat bool

InvalidateItem() public méthode

public InvalidateItem ( string key ) : void
key string
Résultat void

InvalidateSets() public méthode

public InvalidateSets ( IEnumerable entitySets ) : void
entitySets IEnumerable
Résultat void

OnCachingFailed() protected méthode

protected OnCachingFailed ( Exception e, [ memberName = "" ) : void
e System.Exception
memberName [
Résultat void

Purge() public méthode

public Purge ( ) : void
Résultat void

PutItem() public méthode

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
Résultat void

RedisCache() public méthode

public RedisCache ( StackExchange.Redis.ConfigurationOptions options ) : StackExchange.Redis
options StackExchange.Redis.ConfigurationOptions
Résultat StackExchange.Redis

RedisCache() public méthode

public RedisCache ( StackExchange.Redis.ConfigurationOptions options, string cacheIdentifier ) : StackExchange.Redis
options StackExchange.Redis.ConfigurationOptions
cacheIdentifier string
Résultat StackExchange.Redis

RedisCache() public méthode

public RedisCache ( string config ) : StackExchange.Redis
config string
Résultat StackExchange.Redis

RedisCache() public méthode

public RedisCache ( string config, string cacheIdentifier ) : StackExchange.Redis
config string
cacheIdentifier string
Résultat StackExchange.Redis