HalfOpen

The CircuitBreaker is in HalfOpen state while it's allowing a test request to go through.

Parameters

resetTimeout

is the current reset timeout that the CircuitBreaker has to stay in Open state. When the reset timeout lapsed, than the CircuitBreaker will allow a test request to go through in HalfOpen. If the test request failed, the CircuitBreaker will go back into Open and it'll multiply the resetTimeout with the exponential backoff factor.

Constructors

Link copied to clipboard
constructor(openingStrategy: CircuitBreaker.OpeningStrategy, resetTimeout: Duration)
constructor(openingStrategy: CircuitBreaker.OpeningStrategy, resetTimeoutNanos: Double)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

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