Uses of Class
com.cercalia.sdk.util.RetryUtil.RetryOptions
Packages that use RetryUtil.RetryOptions
-
Uses of RetryUtil.RetryOptions in com.cercalia.sdk.util
Methods in com.cercalia.sdk.util that return RetryUtil.RetryOptionsModifier and TypeMethodDescriptionRetryUtil.RetryOptions.delayMs(long delayMs) RetryUtil.RetryOptions.logRetries(boolean logRetries) RetryUtil.RetryOptions.maxAttempts(int maxAttempts) RetryUtil.RetryOptions.operationName(String operationName) static RetryUtil.RetryOptionsRetryUtil.options()Creates default retry options.Methods in com.cercalia.sdk.util with parameters of type RetryUtil.RetryOptionsModifier and TypeMethodDescriptionstatic <T> TRetryUtil.withRetry(Callable<T> callable, RetryUtil.RetryOptions options) Execute a callable with automatic retries.static <T> TRetryUtil.withRetryAlternatives(List<Supplier<T>> alternatives, RetryUtil.RetryOptions options) Execute multiple alternative suppliers until one succeeds.static <T> TRetryUtil.withRetryUnchecked(Supplier<T> supplier, RetryUtil.RetryOptions options) Execute a supplier with automatic retries (RuntimeException only).