C# Class RedisProviders.RedisOutputCacheProvider

Inheritance: System.Web.Caching.OutputCacheProvider
ファイルを表示 Open project: kylesonaty/AspNetRedisProviders

Public Methods

Method Description
Add ( string key, object entry, System.DateTime utcExpiry ) : object
Get ( string key ) : object
GetConnection ( ) : RedisConnection
Initialize ( string name, NameValueCollection config ) : void
Remove ( string key ) : void
Set ( string key, object entry, System.DateTime utcExpiry ) : void

Private Methods

Method Description
GetConfigValue ( string configValue, string defaultValue ) : string
OnConnectionError ( object sender, BookSleeve.ErrorEventArgs args ) : void
WriteToEventLog ( Exception ex, string action ) : void

Method Details

Add() public method

public Add ( string key, object entry, System.DateTime utcExpiry ) : object
key string
entry object
utcExpiry System.DateTime
return object

Get() public method

public Get ( string key ) : object
key string
return object

GetConnection() public method

public GetConnection ( ) : RedisConnection
return BookSleeve.RedisConnection

Initialize() public method

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
return void

Remove() public method

public Remove ( string key ) : void
key string
return void

Set() public method

public Set ( string key, object entry, System.DateTime utcExpiry ) : void
key string
entry object
utcExpiry System.DateTime
return void