Method | Description | |
---|---|---|
AddOrGetExisting ( System.Runtime.Caching.CacheItem value, System.Runtime.Caching.CacheItemPolicy policy ) : System.Runtime.Caching.CacheItem | ||
AddOrGetExisting ( String key, Object value, System.Runtime.Caching.CacheItemPolicy policy, String regionName = null ) : Object | ||
AddOrGetExisting ( String key, Object value, DateTimeOffset absoluteExpiration, String regionName = null ) : Object | ||
Contains ( String key, String regionName = null ) : System.Boolean | ||
CreateCacheEntryChangeMonitor ( IEnumerable |
||
Get ( String key, String regionName = null ) : Object | ||
GetCacheItem ( String key, String regionName = null ) : System.Runtime.Caching.CacheItem | ||
GetCount ( String regionName = null ) : System.Int64 |
This property is not supported and will always throw an exception. When overridden in a derived class, gets the total number of cache entries in the cache.
|
|
GetValues ( IEnumerable |
||
RedisCache ( Func |
||
Remove ( String key, String regionName = null ) : Object | ||
Set ( System.Runtime.Caching.CacheItem item, System.Runtime.Caching.CacheItemPolicy policy ) : void | ||
Set ( String key, Object value, System.Runtime.Caching.CacheItemPolicy policy, String regionName = null ) : void | ||
Set ( String key, Object value, DateTimeOffset absoluteExpiration, String regionName = null ) : void | ||
this ( String key ) : Object |
Method | Description | |
---|---|---|
GetEnumerator ( ) : Object>>.IEnumerator |
Method | Description | |
---|---|---|
AddOrGetExistingInternal ( String key, Object value, System.Runtime.Caching.CacheItemPolicy policy ) : Object | ||
ConfigureSlidingExpiration ( String key, System.Runtime.Caching.CacheItemPolicy policy ) : void | ||
GetPolicyExpiration ( System.Runtime.Caching.CacheItemPolicy policy ) : TimeSpan? | ||
GetValue ( String key ) : Object | ||
SetInternal ( String key, Object value, System.Runtime.Caching.CacheItemPolicy policy, When condition = When.Always ) : System.Boolean | ||
SetValue ( String key, Object value, System.TimeSpan expiration = null, When condition = When.Always ) : System.Boolean |
public AddOrGetExisting ( System.Runtime.Caching.CacheItem value, System.Runtime.Caching.CacheItemPolicy policy ) : System.Runtime.Caching.CacheItem | ||
value | System.Runtime.Caching.CacheItem | |
policy | System.Runtime.Caching.CacheItemPolicy | |
return | System.Runtime.Caching.CacheItem |
public AddOrGetExisting ( String key, Object value, System.Runtime.Caching.CacheItemPolicy policy, String regionName = null ) : Object | ||
key | String | |
value | Object | |
policy | System.Runtime.Caching.CacheItemPolicy | |
regionName | String | |
return | Object |
public AddOrGetExisting ( String key, Object value, DateTimeOffset absoluteExpiration, String regionName = null ) : Object | ||
key | String | |
value | Object | |
absoluteExpiration | DateTimeOffset | |
regionName | String | |
return | Object |
public Contains ( String key, String regionName = null ) : System.Boolean | ||
key | String | |
regionName | String | |
return | System.Boolean |
public CreateCacheEntryChangeMonitor ( IEnumerable |
||
keys | IEnumerable |
|
regionName | String | |
return | System.Runtime.Caching.CacheEntryChangeMonitor |
public Get ( String key, String regionName = null ) : Object | ||
key | String | |
regionName | String | |
return | Object |
public GetCacheItem ( String key, String regionName = null ) : System.Runtime.Caching.CacheItem | ||
key | String | |
regionName | String | |
return | System.Runtime.Caching.CacheItem |
public GetCount ( String regionName = null ) : System.Int64 | ||
regionName | String | Optional. A named region in the cache for which the cache entry count should be computed, if regions are implemented. The default value for the optional parameter is null. |
return | System.Int64 |
protected GetEnumerator ( ) : Object>>.IEnumerator |
||
return | Object>>.IEnumerator |
public GetValues ( IEnumerable |
||
keys | IEnumerable |
|
regionName | String | |
return | Object>.IDictionary |
public RedisCache ( Func |
||
redisClusterConfigurationOptionsFactory | Func |
|
serializer | ISerializer | |
return | System |
public Remove ( String key, String regionName = null ) : Object | ||
key | String | |
regionName | String | |
return | Object |
public Set ( System.Runtime.Caching.CacheItem item, System.Runtime.Caching.CacheItemPolicy policy ) : void | ||
item | System.Runtime.Caching.CacheItem | |
policy | System.Runtime.Caching.CacheItemPolicy | |
return | void |
public Set ( String key, Object value, System.Runtime.Caching.CacheItemPolicy policy, String regionName = null ) : void | ||
key | String | |
value | Object | |
policy | System.Runtime.Caching.CacheItemPolicy | |
regionName | String | |
return | void |
public Set ( String key, Object value, DateTimeOffset absoluteExpiration, String regionName = null ) : void | ||
key | String | |
value | Object | |
absoluteExpiration | DateTimeOffset | |
regionName | String | |
return | void |