C# Class StacheCache.RemoteCache

Inheritance: ICache
Show file Open project: itsjason/Stache-Cache

Private Properties

Property Type Description
ConnectCache void

Public Methods

Method Description
AddToCache ( object item, string key, int expirationMinutes ) : void
Clear ( ) : void
Delete ( string key ) : void
ReadFromCache ( string key ) : object
RemoteCache ( IEnumerable cacheServers, int timeoutMilliseconds = 2000, string cacheName = "default", string regionName = "default" ) : System

Private Methods

Method Description
ConnectCache ( string cacheName, DataCacheFactoryConfiguration config ) : void

Method Details

AddToCache() public method

public AddToCache ( object item, string key, int expirationMinutes ) : void
item object
key string
expirationMinutes int
return void

Clear() public method

public Clear ( ) : void
return void

Delete() public method

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

ReadFromCache() public method

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

RemoteCache() public method

public RemoteCache ( IEnumerable cacheServers, int timeoutMilliseconds = 2000, string cacheName = "default", string regionName = "default" ) : System
cacheServers IEnumerable
timeoutMilliseconds int
cacheName string
regionName string
return System