Builder

class Builder(platform: PlatformEnvironProvider = PlatformProvider.System) : DelayProvider.Config.Builder

A mutable builder for config for ExponentialBackoffWithJitter

Constructors

Link copied to clipboard
constructor(platform: PlatformEnvironProvider = PlatformProvider.System)

Properties

Link copied to clipboard

The base delay for non-throttling errors

Link copied to clipboard

The amount of random variability over the max delay (1.0 means full jitter, 0.0 means no jitter)

Link copied to clipboard

An upper bound for the computed delay which will override the scaleFactor

Link copied to clipboard

The maximum amount the retry-after value can exceed the computed backoff

Link copied to clipboard

The scale factor by which to multiply the previous max delay

Link copied to clipboard

The base delay used for throttling errors