SlidingWindowCircuitBreakerConfigBuilder

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Fraction of calls in the window that must fail to trip the circuit open.

Link copied to clipboard

Number of successes needed in Half-Open state to close the circuit.

Link copied to clipboard

Minimum outcomes recorded before the failure rate is evaluated at all.

Link copied to clipboard

Duration to wait before transitioning from Open to Half-Open.

Link copied to clipboard

Number of most-recent call outcomes tracked.

Functions

Link copied to clipboard

Builds the SlidingWindowCircuitBreakerConfig from the current builder state.