1 write to _cacheMemoryMonitor
System.Runtime.Caching (1)
System\Caching\MemoryCacheStatistics.cs (1)
134
_cacheMemoryMonitor
= new CacheMemoryMonitor(_memoryCache, _configCacheMemoryLimitMegabytes);
10 references to _cacheMemoryMonitor
System.Runtime.Caching (10)
System\Caching\MemoryCacheStatistics.cs (10)
55
if (_physicalMemoryMonitor.IsAboveHighPressure() ||
_cacheMemoryMonitor
.IsAboveHighPressure()) {
64
if ((
_cacheMemoryMonitor
.PressureLast >
_cacheMemoryMonitor
.PressureLow / 2)
89
return this.
_cacheMemoryMonitor
.PressureLast;
96
return Math.Max(_physicalMemoryMonitor.GetPercentToTrim(_lastTrimTime, _lastTrimPercent),
_cacheMemoryMonitor
.GetPercentToTrim(_lastTrimTime, _lastTrimPercent));
167
_cacheMemoryMonitor
.Update();
176
return
_cacheMemoryMonitor
.MemoryLimit;
265
if (
_cacheMemoryMonitor
!= null) {
266
_cacheMemoryMonitor
.Dispose();
300
_cacheMemoryMonitor
.SetLimit(cacheMemoryLimitMegabytes);