All Classes and Interfaces
Class
Description
Annotation allow applying
CircuitBreaker to a specific method
When applied to method, method may throw CallNotPermittedException when all CircuitBreaker in OPEN stateA
CircuitBreaker manages the state of a backend system.You can use Resilient4j documentation as a description of how CircuitBreaker works and how similar properties are configution its parts
Manages state of all
CircuitBreaker in systemRecords circuit breaker metrics
Configures behavior of
CircuitBreaker.releaseOnError(Throwable) on whenever exception should count as failre or notFallbackConfig.NamedConfig.failurePredicateName() FallbackPredicate.name() default is KoraFallbackPredicateConfigures behavior of Fallback on whenever exception should count as fallback applicable or not
Annotation allow applying
Retry to a specific method
When applied to method, method may throw RetryExhaustedException when all retry attempts are exhaustedRetry executor implementation
Retry State implementation for manual retry execution handling
RetryConfig.NamedConfig.delay() Attempt initial delay
RetryConfig.NamedConfig.delayStep() Delay step used to calculate next delay (previous delay + delay step)
RetryConfig.NamedConfig.attempts() Maximum number of retry attempts
RetryConfig.NamedConfig.failurePredicateName() RetryPredicate.name() default is RetryPredicateException that indicates all Retry attempts exhausted
Configures behavior of
Retry on whenever exception should count as failre or notAnnotation allow applying
Timeout to a specific method
When applied to method, method may throw TimeoutExhaustedException when all timeout occuredTimeout executor contract
TimeoutConfig.NamedConfig.duration Configures maximum interval for timeout.Manages state of all
Timeout in system