PhiAccrualOptionsValidator
Este conteúdo não está disponível em sua língua ainda.
Defined in: src/cluster/PhiAccrualOptions.ts:75
Validates resolved PhiAccrualOptionsType settings — every field is
a positive duration/count, and downThreshold must exceed
unreachableThreshold (a non-strictly-ordered pair would flag peers down
before they are ever unreachable).
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PhiAccrualOptionsValidator():
PhiAccrualOptionsValidator
Defined in: src/cluster/PhiAccrualOptions.ts:76
Returns
Section titled “Returns”PhiAccrualOptionsValidator
Overrides
Section titled “Overrides”OptionsValidator<PhiAccrualOptionsType>.constructor
Methods
Section titled “Methods”validate()
Section titled “validate()”validate(
settings):void
Defined in: src/util/OptionsValidator.ts:75
Check the (merged) settings; throws OptionsError on the first
violation. Unset (undefined) fields always pass.
Parameters
Section titled “Parameters”settings
Section titled “settings”Partial<T>
Returns
Section titled “Returns”void
