Linear

This data class represents a linear retry policy for network requests with a delay between retries, a maximum number of retries and a list of operations to exclude from retries.

Constructors

Link copied to clipboard
constructor(delayInSec: Int = MIN_DELAY, maxRetryNumber: Int = MAX_RETRIES, excludedOperations: List<RetryableEndpointGroup> = emptyList())
constructor()
constructor(delayInSec: Int)
constructor(delayInSec: Int, maxRetryNumber: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The delay in seconds between retries. Minimum value is 3 seconds.

Link copied to clipboard
Link copied to clipboard

The maximum number of retries allowed. Maximum value is 10.