ExponentialBackoffRetryOpts

@Serializable
@ObjCName(name = "ExponentialBackoffRetryOpts", exact = true)
data class ExponentialBackoffRetryOpts(val maxRetries: Int? = 10, val baseDelayInMS: Long? = ONE * SECOND, val maxDelayInMS: Long? = FIFTEEN * SECOND)

Configuration for exponential backoff retry strategy.

Parameters

maxRetries

Maximum number of retry attempts

baseDelayInMS

Base delay in milliseconds before first retry

maxDelayInMS

Maximum delay in milliseconds between retries

Constructors

Link copied to clipboard
constructor(maxRetries: Int? = 10, baseDelayInMS: Long? = ONE * SECOND, maxDelayInMS: Long? = FIFTEEN * SECOND)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Converts exponential backoff retry options to Azure SDK ExponentialBackoffOptions.