CircuitBreakerConfigBuilder

Builder for circuit breaker configuration.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Number of consecutive failures before opening the circuit.

Link copied to clipboard

Maximum number of calls allowed in Half-Open state.

Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard

Builds the CircuitBreakerConfig from the current builder state.