Constructors

Link copied to clipboard

Types

Link copied to clipboard
class Builder(platform: PlatformEnvironProvider = PlatformProvider.System) : DelayProvider.Config.Builder

A mutable builder for config for ExponentialBackoffWithJitter

Link copied to clipboard
object Companion

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