protected void SetDepend(string key, object output) { MemCachedStrategy mc = new MemCachedStrategy(); mc.TimeOut = MemcachedCacheTime; mc.AddObject(key, output); }
/// <summary> /// 刷新缓存 /// </summary> protected void FlushDependkey() { MemCachedStrategy mc = new MemCachedStrategy(); mc.AddObject(dependkey, 1); }