- Recurrent - Class in net.jodah.recurrent
-
Performs invocations with synchronous or asynchronous retries according to a
RetryPolicy.
- RecurrentFuture<T> - Class in net.jodah.recurrent
-
- retry() - Method in class net.jodah.recurrent.Invocation
-
Retries a failed invocation, returning true if the retry can be attempted else false if the retry policy has been
exceeded.
- retryOn(Throwable) - Method in class net.jodah.recurrent.Invocation
-
Retries a failed invocation, returning true if the retry can be attempted for the failure else false if the
retry policy has been exceeded.
- retryOn(Class<? extends Throwable>...) - Method in class net.jodah.recurrent.RetryPolicy
-
Specifies the failures to retry on.
- retryOn(Predicate<? extends Throwable>) - Method in class net.jodah.recurrent.RetryPolicy
-
Specifies when a retry should occur for a particular failure.
- RetryPolicy - Class in net.jodah.recurrent
-
Policy that defines when retries should be performed.
- RetryPolicy() - Constructor for class net.jodah.recurrent.RetryPolicy
-
Creates a retry policy that retries forever with no delay between retries.
- RetryStats - Class in net.jodah.recurrent
-
Statistics for the usage of a RetryPolicy.
- RetryStats(RetryPolicy) - Constructor for class net.jodah.recurrent.RetryStats
-
- retryWhen(Object) - Method in class net.jodah.recurrent.Invocation
-
Retries a failed invocation, returning true if the retry can be attempted for the result else false if the
retry policy has been exceeded.
- retryWhen(Object, Throwable) - Method in class net.jodah.recurrent.Invocation
-
Retries a failed invocation, returning true if the retry can be attempted for the result and
failure else false if the retry policy has been exceeded.
- retryWhen(T) - Method in class net.jodah.recurrent.RetryPolicy
-
Specifies when a retry should occur for a particular result.
- retryWhen(Predicate<T>) - Method in class net.jodah.recurrent.RetryPolicy
-
Specifies when a retry should occur for a particular result.
- retryWhen(BiPredicate<T, ? extends Throwable>) - Method in class net.jodah.recurrent.RetryPolicy
-
Specifies when a retry should occur for a particular result and failure.
- run(Invocation) - Method in interface net.jodah.recurrent.ContextualRunnable
-
- run(ContextualRunnable, RetryPolicy, ScheduledExecutorService) - Static method in class net.jodah.recurrent.Recurrent
-
Invokes the runnable, scheduling retries with the executor according to the retryPolicy.
- run(Runnable, RetryPolicy) - Static method in class net.jodah.recurrent.Recurrent
-
Invokes the runnable, sleeping between invocation attempts according to the retryPolicy.
- run(Runnable, RetryPolicy, ScheduledExecutorService) - Static method in class net.jodah.recurrent.Recurrent
-
Invokes the runnable, scheduling retries with the executor according to the retryPolicy.