RetryConfigBuilder

Creates a new RetryConfigBuilder for constructing RetryConfig instances.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Sets the backoff multiplier for subsequent retry attempts.

Link copied to clipboard

Builds a new RetryConfig instance with the configured values. Any unset values will use RetryConfig defaults.

Link copied to clipboard

Sets the initial delay before the first retry attempt using java.time.Duration.

Sets the initial delay before the first retry attempt using kotlin.time.Duration.

Link copied to clipboard

Sets the jitter factor to introduce randomness in delay calculations.

Link copied to clipboard

Sets the maximum number of attempts (including initial).

Link copied to clipboard

Sets the maximum delay allowed between retry attempts using java.time.Duration.

Sets the maximum delay allowed between retry attempts using kotlin.time.Duration.

Link copied to clipboard

Sets the retryable patterns for identifying retryable errors.

Link copied to clipboard

Sets the retry-after extractor for extracting retry-after hints from error messages.