public static class CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder extends Object
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder failureRateThreshold(int failureRateThreshold)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder slowCallRateThreshold(int slowCallRateThreshold)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder waitDurationInOpenState(Duration waitDurationInOpenState)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder permittedNumberOfCallsInHalfOpenState(int permittedNumberOfCallsInHalfOpenState)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder minimumNumberOfCalls(int minimumNumberOfCalls)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder slidingWindowSize(int slidingWindowSize)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder slowCallDurationThreshold(Duration slowCallDurationThreshold)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder writableStackTraceEnabled(boolean writableStackTraceEnabled)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder recordHttpStatuses(Set<Integer> recordHttpStatuses)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder recordExceptions(List<Class<? extends RuntimeException>> recordExceptions)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder recordProcessingFailures(boolean recordProcessingFailures)
public CircuitBreakerConfiguration.CircuitBreakerConfigurationBuilder numberOfRecordedHistoryResponses(int numberOfRecordedHistoryResponses)
public CircuitBreakerConfiguration build()
Copyright © 2016–2024. All rights reserved.