Package io.hekate.messaging.retry
Retry API.
-
Interface Summary Interface Description Attempt Attempt.FailedAttempt Failed attempt.GenericRetryConfigurer Generic retry policy for a messaging channel.RetryBackoffPolicy Backoff policy.RetryCallback Callback for receiving retry notifications.RetryCondition Condition to retry an operation.RetryErrorPredicate Predicate to test if particular error should be retried.RetryPolicy<P extends RetryPolicy<P>> Base interface for retry policies.RetryResponsePredicate<T> Predicate to test if particular response should be retried.RetryResponseSupport<T,P extends RetryResponseSupport<T,P>> Template interface for policies that can retry upon an unexpected response.RetryRoutingSupport<P extends RetryRoutingSupport<P>> Template interface for policies that can re-route operations upon retry. -
Class Summary Class Description ExponentialBackoffPolicy A backoff policy that waits exponentially longer between each attempt (but keeps a constant delay once a maximum delay is reached).FixedBackoffPolicy Fixed delay policy. -
Enum Summary Enum Description RetryRoutingPolicy Routing behavior in case of a retry action.