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)
67
if (_physicalMemoryMonitor.IsAboveHighPressure() ||
_cacheMemoryMonitor
.IsAboveHighPressure())
78
if ((
_cacheMemoryMonitor
.PressureLast >
_cacheMemoryMonitor
.PressureLow / 2)
108
return
_cacheMemoryMonitor
.PressureLast;
117
return Math.Max(_physicalMemoryMonitor.GetPercentToTrim(_lastTrimTime, _lastTrimPercent),
_cacheMemoryMonitor
.GetPercentToTrim(_lastTrimTime, _lastTrimPercent));
228
_cacheMemoryMonitor
.Update();
237
return
_cacheMemoryMonitor
.MemoryLimit;
352
_cacheMemoryMonitor
?.Dispose();
394
_cacheMemoryMonitor
.SetLimit(cacheMemoryLimitMegabytes);