C# Class Netsy.Cache.DataCache

The data cache
Inheritance: IDataCache
Datei anzeigen Open project: AnthonySteele/Netsy

Public Methods

Method Description
Read ( string key ) : object

Read a value from the cache

Write ( string key, object data ) : void

Write a value to the cache

Private Methods

Method Description
ClearTimedOutItems ( ) : void
ItemHasTimedOut ( CacheItem item ) : bool

Return true if the item has expired, is past the timeout

Method Details

Read() public method

Read a value from the cache
public Read ( string key ) : object
key string the cache key
return object

Write() public method

Write a value to the cache
public Write ( string key, object data ) : void
key string the cache key
data object the value cached
return void