FailoverAttempt

data class FailoverAttempt(val provider: String, val reason: FailoverAttempt.Reason, val cause: Throwable?)(source)

A single attempt recorded during Failover.execute: either a provider was skipped because its circuit was open, or it was invoked and failed.

Constructors

Link copied to clipboard
constructor(provider: String, reason: FailoverAttempt.Reason, cause: Throwable?)

Types

Link copied to clipboard

Why a provider didn't satisfy a Failover.execute call.

Properties

Link copied to clipboard

The underlying exception, if the provider was actually invoked and failed

Link copied to clipboard

Name of the provider this attempt refers to

Link copied to clipboard

Why this provider didn't satisfy the call