Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.automaticTransitionFromOpenToHalfOpenEnabled(boolean automaticTransitionFromOpenToHalfOpenEnabled) |
Enables automatic transition from OPEN to HALF_OPEN state once the waitDurationInOpenState has passed.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.bulkheadEnabled(boolean bulkheadEnabled) |
Whether bulkhead is enabled or not on the circuit breaker.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.bulkheadMaxConcurrentCalls(int bulkheadMaxConcurrentCalls) |
Configures the max amount of concurrent calls the bulkhead will support.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.bulkheadMaxWaitDuration(int bulkheadMaxWaitDuration) |
Configures a maximum amount of time which the calling thread will wait to enter the bulkhead.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.circuitBreakerRef(String circuitBreakerRef) |
Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreaker instance to lookup and use from the
registry.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.configRef(String ref) |
Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreakerConfig instance to lookup and use from
the registry.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.failureRateThreshold(float failureRateThreshold) |
Configures the failure rate threshold in percentage.
|
Resilience4jConfigurationDefinition |
Model.getResilience4jConfiguration(String id) |
Gets the Resilience4j configuration by the given name.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.minimumNumberOfCalls(int minimumNumberOfCalls) |
Configures configures the minimum number of calls which are required (per sliding window period) before the
CircuitBreaker can calculate the error rate.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.permittedNumberOfCallsInHalfOpenState(int permittedNumberOfCallsInHalfOpenState) |
Configures the number of permitted calls when the CircuitBreaker is half open.
|
Resilience4jConfigurationDefinition |
CircuitBreakerDefinition.resilience4jConfiguration() |
Configures the circuit breaker to use Resilience4j.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.slidingWindowSize(int slidingWindowSize) |
Configures the size of the sliding window which is used to record the outcome of calls when the CircuitBreaker is
closed.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.slidingWindowType(String slidingWindowType) |
Configures the type of the sliding window which is used to record the outcome of calls when the CircuitBreaker is
closed.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.slowCallDurationThreshold(int slowCallDurationThreshold) |
Configures the duration threshold (seconds) above which calls are considered as slow and increase the slow calls
percentage.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.slowCallRateThreshold(float slowCallRateThreshold) |
Configures a threshold in percentage.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.timeoutCancelRunningFuture(boolean timeoutCancelRunningFuture) |
Configures whether cancel is called on the running future.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.timeoutDuration(int timeoutDuration) |
Configures the thread execution timeout (millis).
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.timeoutEnabled(boolean timeoutEnabled) |
Whether timeout is enabled or not on the circuit breaker.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.timeoutExecutorServiceRef(String executorServiceRef) |
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.waitDurationInOpenState(int waitDurationInOpenState) |
Configures the wait duration (in seconds) which specifies how long the CircuitBreaker should stay open, before it
switches to half open.
|
Resilience4jConfigurationDefinition |
Resilience4jConfigurationDefinition.writableStackTraceEnabled(boolean writableStackTraceEnabled) |
Enables writable stack traces.
|