C# Class NSoft.NFramework.Data.NHibernateEx.NHCaches.SysCache.SysCacheProvider

System.Web.Caching 의 캐시 클래스들을 이용한 Cache provider입니다.
Inheritance: ICacheProvider
Show file 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
SysCacheProvider ( ) : System.Collections.Generic

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