C# Класс NSoft.NFramework.Caching.SharedCache.NHCaches.SharedCacheProvider

SharedCache 를 저장소로 사용하는 Cache Provider입니다. SharedCacheClient를 제공합니다. 참고 : http://www.sharedcache.com/cms/
Наследование: ICacheProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
SharedCacheProvider ( ) : System.Collections.Concurrent

Описание методов

BuildCache() публичный Метод

Configure the cache
public BuildCache ( string regionName, string>.IDictionary properties ) : ICache
regionName string the name of the cache region
properties string>.IDictionary configuration settings
Результат ICache

NextTimestamp() публичный Метод

generate a timestamp
public NextTimestamp ( ) : long
Результат long

Start() публичный Метод

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
Результат void

Stop() публичный Метод

Callback to perform any necessary cleanup of the underlying cache implementation during M:NHibernate.ISessionFactory.Close.
public Stop ( ) : void
Результат void