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);
        }