1 write to _cacheMemoryMonitor
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCacheStatistics.cs (1)
170_cacheMemoryMonitor = new CacheMemoryMonitor(_memoryCache, _configCacheMemoryLimitMegabytes);
9 references to _cacheMemoryMonitor
System.Runtime.Caching (9)
System\Runtime\Caching\MemoryCacheStatistics.cs (9)
67if (_physicalMemoryMonitor.IsAboveHighPressure() || _cacheMemoryMonitor.IsAboveHighPressure()) 78if ((_cacheMemoryMonitor.PressureLast > _cacheMemoryMonitor.PressureLow / 2) 108return _cacheMemoryMonitor.PressureLast; 117return Math.Max(_physicalMemoryMonitor.GetPercentToTrim(_lastTrimTime, _lastTrimPercent), _cacheMemoryMonitor.GetPercentToTrim(_lastTrimTime, _lastTrimPercent)); 228_cacheMemoryMonitor.Update(); 237return _cacheMemoryMonitor.MemoryLimit; 352_cacheMemoryMonitor?.Dispose(); 394_cacheMemoryMonitor.SetLimit(cacheMemoryLimitMegabytes);