Skip navigation links
A C D F G I L N O P R S T W 

A

allowsRetries() - Method in class net.jodah.recurrent.RetryPolicy
Returns whether the policy allows any retries based on the configured maxRetries and maxDuration.
allowsRetriesFor(Throwable) - Method in class net.jodah.recurrent.RetryPolicy
Returns whether the policy will allow retries for the failure.

C

call(Invocation) - Method in interface net.jodah.recurrent.ContextualCallable
 
cancel(boolean) - Method in class net.jodah.recurrent.RecurrentFuture
 
complete() - Method in class net.jodah.recurrent.Invocation
Completes the invocation, allowing any futures waiting on the invocation to complete.
complete(Object) - Method in class net.jodah.recurrent.Invocation
Completes the invocation with the result, allowing any futures waiting on the invocation to complete.
completeExceptionally(Throwable) - Method in class net.jodah.recurrent.Invocation
Completes the invocation with the given failure, allowing any futures waiting on the invocation to complete.
CompletionListener<T> - Interface in net.jodah.recurrent.event
Listens for an asynchronous invocation to complete.
ContextualCallable<T> - Interface in net.jodah.recurrent
 
ContextualRunnable - Interface in net.jodah.recurrent
 

D

Duration - Class in net.jodah.recurrent.util
Duration unit, consisting of length and time unit.
Duration(long, TimeUnit) - Constructor for class net.jodah.recurrent.util.Duration
 

F

FailureListener - Interface in net.jodah.recurrent.event
Listens for an asynchronous invocation to fail.
future(Callable<CompletableFuture<T>>, RetryPolicy, ScheduledExecutorService) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the executor according to the retryPolicy.
future(ContextualCallable<CompletableFuture<T>>, RetryPolicy, ScheduledExecutorService) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the executor according to the retryPolicy.

G

get(Callable<T>, RetryPolicy) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, sleeping between invocation attempts according to the retryPolicy.
get(Callable<T>, RetryPolicy, ScheduledExecutorService) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the executor according to the retryPolicy.
get(ContextualCallable<T>, RetryPolicy, ScheduledExecutorService) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the executor according to the retryPolicy.
get() - Method in class net.jodah.recurrent.RecurrentFuture
 
get(long, TimeUnit) - Method in class net.jodah.recurrent.RecurrentFuture
 
getDelay() - Method in class net.jodah.recurrent.RetryPolicy
Returns the delay between retries.
getDelayMultiplier() - Method in class net.jodah.recurrent.RetryPolicy
Returns the delay multiplier for backoff retries.
getMaxDelay() - Method in class net.jodah.recurrent.RetryPolicy
Returns the max delay between backoff retries.
getMaxDuration() - Method in class net.jodah.recurrent.RetryPolicy
Returns the max duration to perform retries for.
getMaxRetries() - Method in class net.jodah.recurrent.RetryPolicy
Returns the max retries.
getRetryCount() - Method in class net.jodah.recurrent.Invocation
Gets the number of retries that have been attempted so far.

I

Invocation - Class in net.jodah.recurrent
A retryable invocation.
isCancelled() - Method in class net.jodah.recurrent.RecurrentFuture
 
isDone() - Method in class net.jodah.recurrent.RecurrentFuture
 

L

length - Variable in class net.jodah.recurrent.util.Duration
 

N

net.jodah.recurrent - package net.jodah.recurrent
 
net.jodah.recurrent.event - package net.jodah.recurrent.event
 
net.jodah.recurrent.util - package net.jodah.recurrent.util
 
NONE - Static variable in class net.jodah.recurrent.util.Duration
 

O

onCompletion(T, Throwable) - Method in interface net.jodah.recurrent.event.CompletionListener
Handles the completion of a call.
onFailure(Throwable) - Method in interface net.jodah.recurrent.event.FailureListener
Handles the failure of a call.
onSuccess(T) - Method in interface net.jodah.recurrent.event.SuccessListener
Handles the successful completion of a call.

P

Predicate<T> - Interface in net.jodah.recurrent.util
 

R

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 invocation's retry policy has not been exceeded, else false.
retry(Throwable) - Method in class net.jodah.recurrent.Invocation
Retries a failed invocation, returning true if the invocation's retry policy has not been exceeded, else false.
retryOn(Class<? extends Throwable>...) - Method in class net.jodah.recurrent.RetryPolicy
Specifies the failures to retry on.
RetryPolicy - Class in net.jodah.recurrent
Policy that defines how retries should be performed.
RetryPolicy() - Constructor for class net.jodah.recurrent.RetryPolicy
Creates a retry policy that retries forever with no delay between retries.
retryWhen(Predicate<Throwable>) - Method in class net.jodah.recurrent.RetryPolicy
Specifies when a retry should occur for a particular 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.

S

SuccessListener<T> - Interface in net.jodah.recurrent.event
Listens for an asynchronous invocation to succeed.

T

test(T) - Method in interface net.jodah.recurrent.util.Predicate
 
timeUnit - Variable in class net.jodah.recurrent.util.Duration
 
toNanos() - Method in class net.jodah.recurrent.util.Duration
 

W

whenComplete(CompletionListener<T>) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenCompleteAsync(CompletionListener<T>) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenCompleteAsync(CompletionListener<T>, ExecutorService) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenFailure(FailureListener) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenFailureAsync(FailureListener) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenFailureAsync(FailureListener, ScheduledExecutorService) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenSuccess(SuccessListener<T>) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenSuccessAsync(SuccessListener<T>) - Method in class net.jodah.recurrent.RecurrentFuture
 
whenSuccessAsync(SuccessListener<T>, ScheduledExecutorService) - Method in class net.jodah.recurrent.RecurrentFuture
 
withBackoff(long, long, TimeUnit) - Method in class net.jodah.recurrent.RetryPolicy
Sets the delay between retries, exponentially backing of to the maxDelay and multiplying successive delays by a factor of 2.
withBackoff(long, long, TimeUnit, double) - Method in class net.jodah.recurrent.RetryPolicy
Sets the delay between retries, exponentially backing of to the maxDelay and multiplying successive delays by the delayMultiplier.
withDelay(long, TimeUnit) - Method in class net.jodah.recurrent.RetryPolicy
Sets the delay between retries.
withMaxDuration(long, TimeUnit) - Method in class net.jodah.recurrent.RetryPolicy
Sets the max duration to perform retries for.
withMaxRetries(int) - Method in class net.jodah.recurrent.RetryPolicy
Sets the max number of retries to perform.
A C D F G I L N O P R S T W 
Skip navigation links

Copyright © 2015. All Rights Reserved.