C# Class Codeology.SharpCache.Providers.LocalCacheProvider

Inheritance: CacheProvider
Mostra file Open project: lkinsella/SharpCache

Public Methods

Method Description
Clear ( ) : void
Exists ( string key ) : bool
Get ( string key ) : object
Initialize ( ) : void
LocalCacheProvider ( ) : System
Set ( string key, object value, System.DateTime dt ) : void
Uninitialize ( ) : void
Unset ( string key ) : void

Protected Methods

Method Description
GetId ( ) : System.Guid
GetName ( ) : string

Private Methods

Method Description
Deserialize ( CachedItem item ) : object
GetOldestCachedItem ( ) : string
Serialize ( object value, System.DateTime expires ) : CachedItem
TimerElapsed ( object sender, System e ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Exists() public method

public Exists ( string key ) : bool
key string
return bool

Get() public method

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

GetId() protected method

protected GetId ( ) : System.Guid
return System.Guid

GetName() protected method

protected GetName ( ) : string
return string

Initialize() public method

public Initialize ( ) : void
return void

LocalCacheProvider() public method

public LocalCacheProvider ( ) : System
return System

Set() public method

public Set ( string key, object value, System.DateTime dt ) : void
key string
value object
dt System.DateTime
return void

Uninitialize() public method

public Uninitialize ( ) : void
return void

Unset() public method

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