/// <summary> /// 清空缓存所有对象 /// </summary> public static void Clear() { lock (_locker) { _icachestrategy.Clear(); } }
/// <summary> /// 清空缓存所有对象 /// </summary> public static void Clear() { lock (_Locker) { _CacheStrategy.Clear(); } }
/// <summary> /// 清除所有缓存 /// </summary> public virtual void Clear() { Initialize(); strategy.Clear(); }