Class DatarouterClientAvailabilitySwitchThresholdSettings
java.lang.Object
io.datarouter.storage.setting.SettingNode
io.datarouter.storage.config.setting.impl.DatarouterClientAvailabilitySwitchThresholdSettings
@Singleton public class DatarouterClientAvailabilitySwitchThresholdSettings extends SettingNode
It's recommended to use DatarouterClientAvailabilitySwitchThresholdSettingsProvider to avoid a circular dependency
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DatarouterClientAvailabilitySwitchThresholdSettings(SettingFinder finder) -
Method Summary
Modifier and Type Method Description CachedSetting<Integer>getSwitchThreshold(ClientId clientId)Methods inherited from class io.datarouter.storage.setting.SettingNode
defaultTo, findParentName, getChildren, getDescendantsByName, getDescendantSettingByName, getListChildren, getListSettings, getMostRecentAncestorNodeByName, getName, getNodeByName, getParentName, getSettings, getShortName, register, registerBoolean, registerBooleans, registerChild, registerCommaSeparatedString, registerCommaSeparatedStrings, registerDouble, registerDoubles, registerDuration, registerDurations, registerInteger, registerIntegers, registerLong, registerLongs, registerString, registerStrings