Uses of Interface
io.activej.promise.RetryPolicy
-
Packages that use RetryPolicy Package Description io.activej.async.process io.activej.async.service io.activej.promise -
-
Uses of RetryPolicy in io.activej.async.process
Methods in io.activej.async.process with parameters of type RetryPolicy Modifier and Type Method Description static AsyncExecutorAsyncExecutors. retry(@NotNull RetryPolicy<?> retryPolicy) -
Uses of RetryPolicy in io.activej.async.service
Methods in io.activej.async.service with parameters of type RetryPolicy Modifier and Type Method Description voidEventloopTaskScheduler. setRetryPolicy(RetryPolicy<?> retryPolicy)EventloopTaskSchedulerEventloopTaskScheduler. withRetryPolicy(RetryPolicy<?> retryPolicy) -
Uses of RetryPolicy in io.activej.promise
Classes in io.activej.promise that implement RetryPolicy Modifier and Type Class Description static classRetryPolicy.DelegatingRetryPolicy<S,DS>static classRetryPolicy.SimpleRetryPolicystatic classRetryPolicy.StatelessRetryPolicyMethods in io.activej.promise that return RetryPolicy Modifier and Type Method Description static RetryPolicy<?>RetryPolicy. exponentialBackoff(long initialDelay, long maxDelay)static RetryPolicy<?>RetryPolicy. exponentialBackoff(long initialDelay, long maxDelay, double exponent)static RetryPolicy<?>RetryPolicy. exponentialBackoff(Duration initialDelay, Duration maxDelay)static RetryPolicy<?>RetryPolicy. exponentialBackoff(Duration initialDelay, Duration maxDelay, double exponent)static RetryPolicy<Void>RetryPolicy. fixedDelay(long delay)static RetryPolicy<Void>RetryPolicy. fixedDelay(Duration delay)static RetryPolicy<Void>RetryPolicy. immediateRetry()static RetryPolicy<Void>RetryPolicy. noRetry()default RetryPolicy<io.activej.common.tuple.Tuple2<io.activej.common.ref.RefInt,S>>RetryPolicy. withMaxTotalRetryCount(int maxRetryCount)default RetryPolicy<?>RetryPolicy. withMaxTotalRetryTimeout(Duration maxRetryTimeout)Methods in io.activej.promise with parameters of type RetryPolicy Modifier and Type Method Description static <T> Promise<T>Promises. retry(AsyncSupplier<T> asyncSupplier, @NotNull RetryPolicy<?> retryPolicy)static <T> Promise<T>Promises. retry(AsyncSupplier<T> asyncSupplier, BiPredicate<T,Throwable> breakCondition, @NotNull RetryPolicy<?> retryPolicy)Constructors in io.activej.promise with parameters of type RetryPolicy Constructor Description DelegatingRetryPolicy(RetryPolicy<DS> policy)
-