HandlerRetry

class HandlerRetry @InternalWowApi constructor(val maxAttempts: Int? = null, val initialBackoff: Duration? = null, val maxBackoff: Duration? = null, val multiplier: Double? = null, val timeout: Duration? = null, val recoverable: List<Class<out Throwable>>? = null, val unrecoverable: List<Class<out Throwable>>? = null, val systemic: List<Class<out Throwable>>? = null)

A subscription's own in-process retry budget: the settings it gives, each null when it gives none, which then come from the budget below it (over). A handler's @Retry gives one (of), the host's wow.subscriptions.[<context>.<name>].retry.* another, over it; both fall back to wow.subscription.retry.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Whether no setting is given.

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

Functions

Link copied to clipboard

The class of failure by the handler's own lists (9.x Retry.recoverable): the class of the list whose class is nearest to it in its class hierarchy, recoverable then systemic then unrecoverable on a tie; null when no list holds a class it is an instance of.

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

These settings, each one not given being base's.

Link copied to clipboard
open override fun toString(): String