C# Class NSoft.NFramework.Caching.SharedCache.NHCaches.SharedCacheProvider

SharedCache 를 저장소로 사용하는 Cache Provider입니다. SharedCacheClient를 제공합니다. 참고 : http://www.sharedcache.com/cms/
Inheritance: ICacheProvider
Exibir arquivo Open project: debop/NFramework Class Usage Examples

Public Methods

Method 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

Method Description
SharedCacheProvider ( ) : System.Collections.Concurrent

Method Details

BuildCache() public method

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

NextTimestamp() public method

generate a timestamp
public NextTimestamp ( ) : long
return long

Start() public method

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
return void

Stop() public method

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