java.lang.Object
io.smallrye.faulttolerance.apiimpl.basicconfig.CircuitBreakerConfigImpl
All Implemented Interfaces:
CircuitBreakerConfig, io.smallrye.faulttolerance.autoconfig.Config, Annotation

public final class CircuitBreakerConfigImpl extends Object implements CircuitBreakerConfig
Automatically generated from the CircuitBreakerConfig config interface, do not modify.
  • Method Details

    • create

      public static CircuitBreakerConfigImpl create(io.smallrye.faulttolerance.autoconfig.FaultToleranceMethod method)
    • create

      public static CircuitBreakerConfigImpl create(String id, Supplier<org.eclipse.microprofile.faulttolerance.CircuitBreaker> supplier)
    • annotationType

      public Class<? extends Annotation> annotationType()
      Specified by:
      annotationType in interface Annotation
      Specified by:
      annotationType in interface io.smallrye.faulttolerance.autoconfig.Config
    • failOn

      public Class<? extends Throwable>[] failOn()
    • skipOn

      public Class<? extends Throwable>[] skipOn()
    • delay

      public long delay()
    • delayUnit

      public ChronoUnit delayUnit()
    • requestVolumeThreshold

      public int requestVolumeThreshold()
    • failureRatio

      public double failureRatio()
    • successThreshold

      public int successThreshold()
    • materialize

      public void materialize()
      Specified by:
      materialize in interface io.smallrye.faulttolerance.autoconfig.Config
    • fail

      public org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceDefinitionException fail(String reason)
      Specified by:
      fail in interface io.smallrye.faulttolerance.autoconfig.Config
    • fail

      public org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceDefinitionException fail(String member, String reason)
      Specified by:
      fail in interface io.smallrye.faulttolerance.autoconfig.Config