Exemple #1
0
        protected void SetDepend(string key, object output)
        {
            MemCachedStrategy mc = new MemCachedStrategy();

            mc.TimeOut = MemcachedCacheTime;
            mc.AddObject(key, output);
        }
Exemple #2
0
        /// <summary>
        /// 刷新缓存
        /// </summary>
        protected void FlushDependkey()
        {
            MemCachedStrategy mc = new MemCachedStrategy();

            mc.AddObject(dependkey, 1);
        }