| Package | Description |
|---|---|
| com.nurkiewicz.asyncretry | |
| com.nurkiewicz.asyncretry.policy |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicy |
AsyncRetryExecutor.getRetryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AsyncRetryExecutor |
AsyncRetryExecutor.withRetryPolicy(RetryPolicy retryPolicy) |
| Constructor and Description |
|---|
AsyncRetryContext(RetryPolicy retryPolicy) |
AsyncRetryContext(RetryPolicy retryPolicy,
int retry,
Throwable lastThrowable) |
AsyncRetryExecutor(ScheduledExecutorService scheduler,
RetryPolicy retryPolicy) |
AsyncRetryExecutor(ScheduledExecutorService scheduler,
RetryPolicy retryPolicy,
Backoff backoff) |
AsyncRetryExecutor(ScheduledExecutorService scheduler,
RetryPolicy retryPolicy,
Backoff backoff,
boolean fixedDelay) |
| Modifier and Type | Field and Description |
|---|---|
static RetryPolicy |
RetryPolicy.DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicy |
RetryPolicy.abortIf(com.google.common.base.Predicate<Throwable> abortPredicate) |
RetryPolicy |
RetryPolicy.abortOn(Class<? extends Throwable>... abortOnThrowables) |
RetryPolicy |
RetryPolicy.dontRetry() |
RetryPolicy |
RetryPolicy.retryIf(com.google.common.base.Predicate<Throwable> retryPredicate) |
RetryPolicy |
RetryPolicy.retryOn(Class<? extends Throwable>... retryOnThrowables) |
RetryPolicy |
RetryPolicy.withMaxRetries(int times) |
Copyright © 2014. All rights reserved.