C# Class StacheCache.RemoteCache

Inheritance: ICache
Afficher le fichier Open project: itsjason/Stache-Cache

Private Properties

Свойство Type Description
ConnectCache void

Méthodes publiques

Méthode 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

Méthode Description
ConnectCache ( string cacheName, DataCacheFactoryConfiguration config ) : void

Method Details

AddToCache() public méthode

public AddToCache ( object item, string key, int expirationMinutes ) : void
item object
key string
expirationMinutes int
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Delete() public méthode

public Delete ( string key ) : void
key string
Résultat void

ReadFromCache() public méthode

public ReadFromCache ( string key ) : object
key string
Résultat object

RemoteCache() public méthode

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