Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
const val DEFAULT_MAX_RETRIES: Int = 10

9.x @Retry's defaults: ten retries, the first three minutes after the failure, each claiming the entry for two minutes (9.x's execution timeout).

Functions

Link copied to clipboard
fun of(maxRetries: Int = DEFAULT_MAX_RETRIES, initialBackoff: Duration = DEFAULT_INITIAL_BACKOFF, claimTtl: Duration = DEFAULT_CLAIM_TTL): ParkedRetrySpec

A ParkedRetrySpec of the given fields; parameters added later come last, with a default.