No description available.
new ExponentialBackoff( initialValue, maxValue, opt_randomFactor, opt_backoffFactor, opt_decayFactor )
Parameters | initialValue | number | | The initial backoff value.
| maxValue | number | | The maximum backoff value.
| opt_randomFactor | number= | | When set, adds randomness to the backoff
and decay to avoid a thundering herd problem. Should be a number between
0 and 1, where 0 means no randomness and 1 means a factor of 0x to 2x.
| opt_backoffFactor | number= | | The factor to backoff by. Defaults to 2.
Should be a number greater than 1.
| opt_decayFactor | number= | | The factor to decay by. Defaults to 2.
Should be a number greater than one.
|
|
---|