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

A

AbstractScheduledFuture<T> - Class in net.jodah.recurrent.util.concurrent
 
AbstractScheduledFuture() - Constructor for class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 
allowsRetries() - Method in class net.jodah.recurrent.RetryPolicy
Returns whether the policy allows any retries based on the configured maxRetries and maxDuration.
allowsRetriesFor(Object, Throwable) - Method in class net.jodah.recurrent.RetryPolicy
Returns whether the policy will allow retries for the failure.

B

BiPredicate<T,U> - Interface in net.jodah.recurrent.util
 

C

call(Invocation) - Method in interface net.jodah.recurrent.ContextualCallable
 
cancel(boolean) - Method in class net.jodah.recurrent.RecurrentFuture
 
cancel(boolean) - Method in class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 
canRetryOn(Throwable) - Method in class net.jodah.recurrent.RetryStats
Records a failed attempt, adjusts the wait time and returns whether a retry can be performed for the failure.
canRetryWhen(Object) - Method in class net.jodah.recurrent.RetryStats
Records a failed attempt, adjusts the wait time and returns whether a retry can be performed for the result .
canRetryWhen(Object, Throwable) - Method in class net.jodah.recurrent.RetryStats
Records a failed attempt, adjusts the wait time and returns whether a retry can be performed for the result and failure.
compareTo(Delayed) - Method in class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 
complete() - Method in class net.jodah.recurrent.Invocation
Completes the associated RecurrentFuture.
complete(Object) - Method in class net.jodah.recurrent.Invocation
Completes the associated RecurrentFuture with the result.
complete(Object, Throwable) - Method in class net.jodah.recurrent.Invocation
Completes the associated RecurrentFuture with the result and failure.
completeExceptionally(Throwable) - Method in class net.jodah.recurrent.Invocation
Completes the associated RecurrentFuture with the failure.
CompletionListener<T> - Interface in net.jodah.recurrent.event
Listens for an asynchronous invocation to complete.
ContextualCallable<T> - Interface in net.jodah.recurrent
A callable that can manually trigger retries or completion for an invocation.
ContextualRunnable - Interface in net.jodah.recurrent
A runnable that can manually trigger retries or completion for an invocation.
copy() - Method in class net.jodah.recurrent.RetryPolicy
Returns a copy of this RetryPolicy.

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(Callable<CompletableFuture<T>>, RetryPolicy, Scheduler) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the scheduler 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.
future(ContextualCallable<CompletableFuture<T>>, RetryPolicy, Scheduler) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the scheduler 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(Callable<T>, RetryPolicy, Scheduler) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the scheduler 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(ContextualCallable<T>, RetryPolicy, Scheduler) - Static method in class net.jodah.recurrent.Recurrent
Invokes the callable, scheduling retries with the scheduler according to the retryPolicy.
get() - Method in class net.jodah.recurrent.RecurrentFuture
 
get(long, TimeUnit) - Method in class net.jodah.recurrent.RecurrentFuture
 
get() - Method in class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 
get(long, TimeUnit) - Method in class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 
getDelay() - Method in class net.jodah.recurrent.RetryPolicy
Returns the delay between retries.
getDelay(TimeUnit) - Method in class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 
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.RetryStats
Gets the number of retries that have been attempted so far.
getWaitTime() - Method in class net.jodah.recurrent.RetryStats
Returns the wait time in nanoseconds.

I

Invocation - Class in net.jodah.recurrent
An invocation that accepts retry and completion requests.
isCancelled() - Method in class net.jodah.recurrent.RecurrentFuture
 
isCancelled() - Method in class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 
isDone() - Method in class net.jodah.recurrent.RecurrentFuture
 
isDone() - Method in class net.jodah.recurrent.util.concurrent.AbstractScheduledFuture
 

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
 
net.jodah.recurrent.util.concurrent - package net.jodah.recurrent.util.concurrent
 
NONE - Static variable in class net.jodah.recurrent.util.Duration
 

O

of(ScheduledExecutorService) - Static method in class net.jodah.recurrent.Schedulers
 
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
A future result of an asynchronous operation.
retry() - Method in class net.jodah.recurrent.Invocation
Retries a failed invocation.
retryOn(Throwable) - Method in class net.jodah.recurrent.Invocation
Retries a failed invocation.
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
A 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.
RetryPolicy(RetryPolicy) - Constructor for class net.jodah.recurrent.RetryPolicy
Copy constructor.
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.
retryWhen(Object, Throwable) - Method in class net.jodah.recurrent.Invocation
Retries a failed invocation.
retryWhen(BiPredicate<T, ? extends Throwable>) - Method in class net.jodah.recurrent.RetryPolicy
Specifies when a retry should occur for a particular result and failure.
retryWhen(Predicate<T>) - Method in class net.jodah.recurrent.RetryPolicy
Specifies when a retry should occur for a particular result.
retryWhen(T) - Method in class net.jodah.recurrent.RetryPolicy
Specifies when a retry should occur for a particular result.
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(ContextualRunnable, RetryPolicy, Scheduler) - Static method in class net.jodah.recurrent.Recurrent
Invokes the runnable, scheduling retries with the scheduler 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.
run(Runnable, RetryPolicy, Scheduler) - Static method in class net.jodah.recurrent.Recurrent
Invokes the runnable, scheduling retries with the scheduler according to the retryPolicy.

S

schedule(Callable<?>, long, TimeUnit) - Method in interface net.jodah.recurrent.Scheduler
Schedules the callable to be called after the delay for the unit.
Scheduler - Interface in net.jodah.recurrent
Schedules invocations.
Schedulers - Class in net.jodah.recurrent
Scheduler utilities.
SuccessListener<T> - Interface in net.jodah.recurrent.event
Listens for an asynchronous invocation to succeed.

T

test(T, U) - Method in interface net.jodah.recurrent.util.BiPredicate
 
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, ExecutorService) - 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>, ExecutorService) - 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 B C D F G I L N O P R S T W 
Skip navigation links

Copyright © 2015. All Rights Reserved.