public class RetryExecutor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RetryExecutor.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RetryExecutor.Builder |
builder() |
static RetryExecutor |
ofDefault() |
static RetryExecutor |
retryExecutor()
Deprecated.
|
<T> T |
run(Retryable<T> op) |
<T> T |
runInterruptible(Retryable<T> op) |
RetryExecutor |
withInitialRetryWait(int msec)
Deprecated.
|
RetryExecutor |
withMaxRetryWait(int msec)
Deprecated.
|
RetryExecutor |
withRetryLimit(int count)
Deprecated.
|
public static RetryExecutor ofDefault()
@Deprecated public static RetryExecutor retryExecutor()
@Deprecated public RetryExecutor withRetryLimit(int count)
@Deprecated public RetryExecutor withInitialRetryWait(int msec)
@Deprecated public RetryExecutor withMaxRetryWait(int msec)
public static RetryExecutor.Builder builder()
public <T> T runInterruptible(Retryable<T> op) throws InterruptedException, RetryGiveupException
public <T> T run(Retryable<T> op) throws RetryGiveupException
RetryGiveupException