Builder
Properties
Link copied to clipboard
A delayer that can back off after the initial try to spread out the retries.
Link copied to clipboard
The maximum number of attempts to make (including the first attempt)
Link copied to clipboard
The token bucket instance. Utilizing an existing token bucket will share call capacity between scopes.
Functions
Link copied to clipboard
Configure a new exponential backoff delayer
fun <B : DelayProvider.Config.Builder, D : DelayProvider> delayProvider(factory: DslFactory<B, D>, block: B.() -> Unit)
Configure a new delayer
Link copied to clipboard
Configure a new standard token bucket instance.
fun <B : RetryTokenBucket.Config.Builder, T : RetryTokenBucket> tokenBucket(factory: DslFactory<B, T>, block: B.() -> Unit)
Configure a new token bucket instance.