Interface SmallRyeFaultToleranceConfig.StrategiesConfig.CircuitBreakerConfig
- Enclosing interface:
SmallRyeFaultToleranceConfig.StrategiesConfig
public static interface SmallRyeFaultToleranceConfig.StrategiesConfig.CircuitBreakerConfig
-
Method Summary
Modifier and TypeMethodDescriptiondelay()The delay after which an open circuit breaker will move to half-open.The unit fordelay().enabled()Whether the@CircuitBreakerstrategy is enabled.failOn()The exception types that are considered failures.The ratio of failures within the rolling window that will move a closed circuit breaker to open.The size of the circuit breaker rolling window.skipOn()The exception types that are not considered failures.The number of successful executions that move a half-open circuit breaker to closed.
-
Method Details
-
enabled
Whether the@CircuitBreakerstrategy is enabled. -
delay
The delay after which an open circuit breaker will move to half-open.- See Also:
-
delayUnit
Optional<ChronoUnit> delayUnit()The unit fordelay().- See Also:
-
failOn
The exception types that are considered failures.- See Also:
-
failureRatio
The ratio of failures within the rolling window that will move a closed circuit breaker to open.- See Also:
-
requestVolumeThreshold
The size of the circuit breaker rolling window.- See Also:
-
skipOn
The exception types that are not considered failures. Takes priority overfailOn().- See Also:
-
successThreshold
The number of successful executions that move a half-open circuit breaker to closed.- See Also:
-