Uses of Interface
com.dianxin.tori.base.concurrent.Retry
Packages that use Retry
-
Uses of Retry in com.dianxin.tori.base.concurrent
Methods in com.dianxin.tori.base.concurrent that return RetryModifier and TypeMethodDescriptionRetry.doBeforeRetry(Consumer<Retry.RetryContext> action) Registers a listener to be invoked before each retry execution is dispatched.Specifies a condition to filter which exceptions are eligible for retry attempts.static RetryRetry.fixedDelay(long maxAttempts, Duration delay) Creates a retry strategy that retries up to the given maximum attempts with a fixed backoff delay between attempts.static RetryRetry.max(long maxAttempts) Creates a retry strategy that immediately retries up to the given maximum attempts with zero delay.Methods in com.dianxin.tori.base.concurrent with parameters of type RetryModifier and TypeMethodDescription@NotNull FutureAction<T> Retries this action based on a custom retry strategy defined by aRetrypolicy.