| Modifier and Type | Method and Description |
|---|---|
Resilience4jConfigurationProperties |
MainConfigurationProperties.resilience4j()
To configure Circuit Breaker EIP with Resilience4j
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withAutomaticTransitionFromOpenToHalfOpenEnabled(Boolean automaticTransitionFromOpenToHalfOpenEnabled) |
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withBulkheadEnabled(Boolean bulkheadEnabled)
Whether bulkhead is enabled or not on the circuit breaker.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withBulkheadMaxConcurrentCalls(Integer bulkheadMaxConcurrentCalls)
Configures the max amount of concurrent calls the bulkhead will support.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withBulkheadMaxWaitDuration(Integer bulkheadMaxWaitDuration)
Configures a maximum amount of time which the calling thread will wait to enter the bulkhead.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withCircuitBreakerRef(String circuitBreakerRef)
Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreaker instance to lookup and use from the
registry.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withConfigRef(String configRef)
Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreakerConfig instance to lookup and use from
the registry.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withFailureRateThreshold(Float failureRateThreshold)
Configures the failure rate threshold in percentage.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withMinimumNumberOfCalls(Integer minimumNumberOfCalls)
Configures configures the minimum number of calls which are required (per sliding window period) before the
CircuitBreaker can calculate the error rate.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withPermittedNumberOfCallsInHalfOpenState(Integer permittedNumberOfCallsInHalfOpenState)
Configures the number of permitted calls when the CircuitBreaker is half open.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withSlidingWindowSize(Integer slidingWindowSize)
Configures the size of the sliding window which is used to record the outcome of calls when the CircuitBreaker is
closed.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withSlidingWindowType(String slidingWindowType)
Configures the type of the sliding window which is used to record the outcome of calls when the CircuitBreaker is
closed.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withSlowCallDurationThreshold(Integer slowCallDurationThreshold)
Configures the duration threshold (seconds) above which calls are considered as slow and increase the slow calls
percentage.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withSlowCallRateThreshold(Float slowCallRateThreshold)
Configures a threshold in percentage.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withTimeoutCancelRunningFuture(Boolean timeoutCancelRunningFuture)
Configures whether cancel is called on the running future.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withTimeoutDuration(Integer timeoutDuration)
Configures the thread execution timeout (millis).
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withTimeoutEnabled(Boolean timeoutEnabled)
Whether timeout is enabled or not on the circuit breaker.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withTimeoutExecutorServiceRef(String timeoutExecutorServiceRef)
References to a custom thread pool to use when timeout is enabled (uses
ForkJoinPool.commonPool() by
default) |
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withWaitDurationInOpenState(Integer waitDurationInOpenState)
Configures the wait duration (in seconds) which specifies how long the CircuitBreaker should stay open, before it
switches to half open.
|
Resilience4jConfigurationProperties |
Resilience4jConfigurationProperties.withWritableStackTraceEnabled(Boolean writableStackTraceEnabled)
Enables writable stack traces.
|
Apache Camel