Package | Description |
---|---|
org.spf4j.base |
Modifier and Type | Field and Description |
---|---|
static CallablesNano.TimeoutNanoRetryPredicate |
CallablesNano.TimeoutNanoRetryPredicate.NORETRY_FOR_RESULT |
Modifier and Type | Method and Description |
---|---|
static <T,EX extends Exception> |
CallablesNano.executeWithRetry(CallablesNano.NanoTimeoutCallable<T,EX> what,
CallablesNano.TimeoutNanoRetryPredicate<Exception,T> retryOnException,
Class<EX> exceptionClass)
Deprecated.
|
static <T,EX extends Exception> |
CallablesNano.executeWithRetry(CallablesNano.NanoTimeoutCallable<T,EX> what,
CallablesNano.TimeoutNanoRetryPredicate<T,T> retryOnReturnVal,
CallablesNano.TimeoutNanoRetryPredicate<Exception,T> retryOnException,
Class<EX> exceptionClass)
Deprecated.
|
static <T,EX extends Exception> |
CallablesNano.executeWithRetry(CallablesNano.NanoTimeoutCallable<T,EX> what,
CallablesNano.TimeoutNanoRetryPredicate<T,T> retryOnReturnVal,
CallablesNano.TimeoutNanoRetryPredicate<Exception,T> retryOnException,
Class<EX> exceptionClass)
Deprecated.
|
static <T,EX extends Exception> |
CallablesNano.executeWithRetry(CallablesNano.NanoTimeoutCallable<T,EX> what,
int nrImmediateRetries,
long maxWaitNanos,
CallablesNano.TimeoutNanoRetryPredicate<? super T,T> retryOnReturnVal,
Callables.AdvancedRetryPredicate<Exception> retryOnException,
Class<EX> exceptionClass)
Deprecated.
After the immediate retries are done, delayed retry with randomized Fibonacci values up to the specified max is
executed.
|
Copyright © 2018 SPF4J. All rights reserved.