RetryManifest

class RetryManifest @InternalWowApi constructor(val maxAttempts: Int? = null, val initialBackoff: String? = null, val maxBackoff: String? = null, val timeout: String? = null, val recoverable: List<String>? = null, val unrecoverable: List<String>? = null, val multiplier: Double? = null, val systemic: List<String>? = null)

A subscription handler's in-process retry budget as @Retry declares it: each setting null when it is not given. Durations are ISO-8601 (PT2S). recoverable, unrecoverable and systemic are the qualified names of the exception classes the handler classifies itself (@Retry(recoverable, unrecoverable, systemic)).

Fields may be added: pass the constructor's arguments by name.

Constructors

Link copied to clipboard
constructor(maxAttempts: Int? = null, initialBackoff: String? = null, maxBackoff: String? = null, timeout: String? = null, recoverable: List<String>? = null, unrecoverable: List<String>? = null, multiplier: Double? = null, systemic: List<String>? = null)

Properties

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

How many times longer each wait between attempts is than the one before.

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

Functions

Link copied to clipboard
fun RetryManifest.copyWith(maxAttempts: Int? = this.maxAttempts, initialBackoff: String? = this.initialBackoff, maxBackoff: String? = this.maxBackoff, timeout: String? = this.timeout, recoverable: List<String>? = this.recoverable, unrecoverable: List<String>? = this.unrecoverable, multiplier: Double? = this.multiplier, systemic: List<String>? = this.systemic): RetryManifest
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String