Memcached 를 NHibernate 2nd 캐시 저장소로 사용하도록 하는 Cache Provider입니다.
Наследование: NHibernate.Cache.ICacheProvider
Пример #1
0
        public void FixtureSetUp()
        {
            _props    = new Dictionary <string, string>();
            _provider = new MemcachedCacheProvider();

            _provider.Start(_props);
        }
        public void SetUp() {
            _provider = new MemcachedCacheProvider();

            _props = new Dictionary<string, string>
                     {
                         { "expiration", "01:00:00" },
                         { "compressThreshold", "1024" }
                     };
        }
Пример #3
0
        public void SetUp()
        {
            _provider = new MemcachedCacheProvider();

            _props = new Dictionary <string, string>
            {
                { "expiration", "01:00:00" },
                { "compressThreshold", "1024" }
            };
        }
        public void FixtureSetUp() {
            _props = new Dictionary<string, string>();
            _provider = new MemcachedCacheProvider();

            _provider.Start(_props);
        }