C# Class NSoft.NFramework.Caching.Memcached.NHCaches.MemcachedCacheProvider

Memcached 를 NHibernate 2nd 캐시 저장소로 사용하도록 하는 Cache Provider입니다.
Inheritance: NHibernate.Cache.ICacheProvider
Afficher le fichier Open project: debop/NFramework Class Usage Examples

Méthodes publiques

Méthode Description
BuildCache ( string regionName, string>.IDictionary properties ) : ICache

Configure the cache

NextTimestamp ( ) : long

generate a timestamp

Start ( string>.IDictionary properties ) : void

Callback to perform any necessary initialization of the underlying cache implementation during ISessionFactory construction.

Stop ( ) : void

Callback to perform any necessary cleanup of the underlying cache implementation during M:NHibernate.ISessionFactory.Close.

Private Methods

Méthode Description
MemcachedCacheProvider ( ) : System.Collections.Concurrent

Method Details

BuildCache() public méthode

Configure the cache
public BuildCache ( string regionName, string>.IDictionary properties ) : ICache
regionName string the name of the cache region
properties string>.IDictionary configuration settings
Résultat ICache

NextTimestamp() public méthode

generate a timestamp
public NextTimestamp ( ) : long
Résultat long

Start() public méthode

Callback to perform any necessary initialization of the underlying cache implementation during ISessionFactory construction.
public Start ( string>.IDictionary properties ) : void
properties string>.IDictionary current configuration settings
Résultat void

Stop() public méthode

Callback to perform any necessary cleanup of the underlying cache implementation during M:NHibernate.ISessionFactory.Close.
public Stop ( ) : void
Résultat void