Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FullJitterBackoff

Implements the Full Jitter algorithm and also allows for specifying a fixed wait added to the full jitter backoff (which can be zero).

Hierarchy

Implements

Index

Constructors

Methods

Constructors

constructor

  • new FullJitterBackoff(fixedWaitMs: number, shortBackoffMs: number, longBackoffMs: number): FullJitterBackoff

Methods

nextBackoffAmountMs

  • nextBackoffAmountMs(): number

reset

  • reset(): void

Generated using TypeDoc