Interface CircuitBreakerProvider

All Known Implementing Classes:
DefaultCircuitBreakerProvider

public interface CircuitBreakerProvider
Provider for circuit breakers.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.github.resilience4j.circuitbreaker.CircuitBreaker
    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.