Uses of Class
org.miaixz.bus.core.lang.thread.RetryableTask
Packages that use RetryableTask
-
Uses of RetryableTask in org.miaixz.bus.core.lang.thread
Methods in org.miaixz.bus.core.lang.thread that return RetryableTaskModifier and TypeMethodDescription重试间隔时间RetryableTask.execute()同步执行重试方法RetryableTask.maxAttempts(long maxAttempts) 最大重试次数static <T> RetryableTask<T> RetryableTask.retryForExceptions(Runnable run, Class<? extends Throwable>... ths) 重试根据指定的异常,没有返回值static <T> RetryableTask<T> RetryableTask.retryForExceptions(Supplier<T> sup, Class<? extends Throwable>... ths) 重试根据指定的异常,有返回值static <T> RetryableTask<T> RetryableTask.retryForPredicate(Runnable run, BiPredicate<T, Throwable> predicate) 重试根据指定的策略,没有返回值static <T> RetryableTask<T> RetryableTask.retryForPredicate(Supplier<T> sup, BiPredicate<T, Throwable> predicate) 重试根据指定的策略,没有返回值Methods in org.miaixz.bus.core.lang.thread that return types with arguments of type RetryableTask