| Package | Description |
|---|---|
| org.spf4j.base |
| Modifier and Type | Field and Description |
|---|---|
static Callables.AdvancedRetryPredicate<Exception> |
Callables.DEFAULT_EXCEPTION_RETRY
Deprecated.
use RetryPolicy
|
static Callables.AdvancedRetryPredicate<?> |
Callables.AdvancedRetryPredicate.NO_RETRY
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,EX extends Exception> |
Callables.executeWithRetry(Callables.TimeoutCallable<T,EX> what,
int nrImmediateRetries,
int maxRetryWaitMillis,
Callables.AdvancedRetryPredicate<Exception> retryOnException,
Class<EX> exceptionClass)
Deprecated.
use RetryPolicy
|
static <T,EX extends Exception> |
Callables.executeWithRetry(Callables.TimeoutCallable<T,EX> what,
int nrImmediateRetries,
int maxWaitMillis,
Callables.TimeoutRetryPredicate<? super T,T> retryOnReturnVal,
Callables.AdvancedRetryPredicate<Exception> retryOnException,
Class<EX> exceptionClass)
Deprecated.
use RetryPolicy
|
static <T> T |
Callables.executeWithRetry(Callables.TimeoutCallable<T,RuntimeException> what,
int nrImmediateRetries,
int maxRetryWaitMillis,
Callables.AdvancedRetryPredicate<Exception> retryOnException)
Deprecated.
use RetryPolicy
|
| Constructor and Description |
|---|
FibonacciBackoffRetryPredicate(Callables.AdvancedRetryPredicate<T> arp,
int nrImmediateRetries,
long minWaitUnits,
long maxWaitUnits,
Function<T,?> mapper,
long deadline,
LongSupplier currTimeSuplier,
TimeUnit tu)
Deprecated.
|
Copyright © 2019 SPF4J. All rights reserved.