protected override void ClearCore(bool disposing)
                {
                    _cache.Clear();
                    LruLinkedList.Clear(ref _lruList);
#if DEBUG
                    _accessCount     = 0;
                    _evictionCount   = 0;
                    _invocationCount = 0;
                    _lastEvicted     = null;
#endif
                }
Esempio n. 2
0
                protected override void ClearCore(bool disposing)
                {
                    _cache.Clear();
#if DEBUG
                    _invocationCount = 0;
                    _accessCount     = 0;
                    _evictionCount   = 0;
                    _trimCount       = 0;
                    _trimElapsed     = TimeSpan.Zero;
                    _lastEvicted     = null;
#endif
                }
Esempio n. 3
0
 protected override void ClearCore(bool disposing) => _cache.Clear();