| Package | Description |
|---|---|
| org.apache.druid.java.util.common |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
RetryUtils.retry(RetryUtils.Task<T> f,
com.google.common.base.Predicate<Throwable> shouldRetry,
int quietTries,
int maxTries,
RetryUtils.CleanupAfterFailure cleanupAfterFailure,
String messageOnRetry)
Retry an operation using fuzzy exponentially increasing backoff.
|
static <T> T |
RetryUtils.retry(RetryUtils.Task<T> f,
com.google.common.base.Predicate<Throwable> shouldRetry,
RetryUtils.CleanupAfterFailure onEachFailure,
int maxTries,
String messageOnRetry) |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.