Interface CircuitBreakerProvider
- All Known Implementing Classes:
DefaultCircuitBreakerProvider
public interface CircuitBreakerProvider
Provider for circuit breakers.
-
Method Summary
Modifier and TypeMethodDescriptionio.github.resilience4j.circuitbreaker.CircuitBreaker
getCircuitBreaker
(ResilienceConfiguration configuration) Provides a circuit breaker.
-
Method Details
-
getCircuitBreaker
@Nonnull io.github.resilience4j.circuitbreaker.CircuitBreaker getCircuitBreaker(@Nonnull ResilienceConfiguration configuration) Provides a circuit breaker.- Parameters:
configuration
- The configuration for constructing the circuit breaker.- Returns:
- A circuit breaker.
-