/// <summary>Remove all items from cache</summary> public void Clear() { foreach (KeyValuePair <string, IIndex> keyValue in _indexList) { keyValue.Value.ClearIndex(); } _lifeSpan.Clear(); }
public void Clear() { base.CheckDisposed(); lock (_indexList) { foreach (var index in _indexList) { index.ClearIndex(); } } _lifeSpan.Clear(); }