internal static void ReadFabricHostExitFailureResetTime() { fabricHostExitFailureResetTime = Utility.GetUnencryptedConfigValue( FabricHostSectionName, FabricHostContinuousExitFailureCountResetTimeParameterName, FabricHostExitFailureDefaultResetTimeSeconds); }
public T GetUnencryptedConfigValue <T>(string sectionName, string valueName, T defaultValue) { if (null == this.appConfig) { return(Utility.GetUnencryptedConfigValue(sectionName, valueName, defaultValue)); } else { return(this.appConfig.GetUnencryptedConfigValue(sectionName, valueName, defaultValue)); } }
public DiskSpaceManager() : this( () => MB * Utility.GetUnencryptedConfigValue( ConfigReader.DiagnosticsSectionName, MaxDiskQuotaParamName, DefaultMaxDiskQuota / MB), () => MB * Utility.GetUnencryptedConfigValue( ConfigReader.DiagnosticsSectionName, DiskFullSafetySpaceParamName, DefaultMinimumRemainingDiskSpace / MB), () => DefaultDiskQuotaUsageTargetPercent, DefaultCleanupInterval) { }