18 references to ConfigUtil
System.Runtime.Caching (18)
System\Runtime\Caching\Configuration\MemoryCacheElement.cs (1)
41
TimeSpan.FromMilliseconds(
ConfigUtil
.DefaultPollingTimeMilliseconds),
System\Runtime\Caching\MemoryCache.cs (4)
369
_useMemoryCacheManager =
ConfigUtil
.GetBooleanValue(config,
ConfigUtil
.UseMemoryCacheManager, true);
370
_throwOnDisposed =
ConfigUtil
.GetBooleanValue(config,
ConfigUtil
.ThrowOnDisposed, false);
System\Runtime\Caching\MemoryCacheStatistics.cs (13)
146
_configPollingInterval =
ConfigUtil
.DefaultPollingTimeMilliseconds;
153
_configPollingInterval =
ConfigUtil
.GetIntValueFromTimeSpan(config,
ConfigUtil
.PollingInterval, _configPollingInterval);
154
_configCacheMemoryLimitMegabytes =
ConfigUtil
.GetIntValue(config,
ConfigUtil
.CacheMemoryLimitMegabytes, _configCacheMemoryLimitMegabytes, true, int.MaxValue);
155
_configPhysicalMemoryLimitPercentage =
ConfigUtil
.GetIntValue(config,
ConfigUtil
.PhysicalMemoryLimitPercentage, _configPhysicalMemoryLimitPercentage, true, 100);
359
int pollingInterval =
ConfigUtil
.GetIntValueFromTimeSpan(config,
ConfigUtil
.PollingInterval, _configPollingInterval);
360
int cacheMemoryLimitMegabytes =
ConfigUtil
.GetIntValue(config,
ConfigUtil
.CacheMemoryLimitMegabytes, _configCacheMemoryLimitMegabytes, true, int.MaxValue);
361
int physicalMemoryLimitPercentage =
ConfigUtil
.GetIntValue(config,
ConfigUtil
.PhysicalMemoryLimitPercentage, _configPhysicalMemoryLimitPercentage, true, 100);