- chain(ExceptionHandler...) - Static method in class io.atlassian.fugue.retry.ExceptionHandlers
-
Chain a series of ExceptionHandlers together to be executed subsequently;
if one throws an exception, subsequent handlers will not be executed.
- create(Runnable, int) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a runnable so that it retries a number of times before being
allowed to fail.
- create(Runnable, int, ExceptionHandler) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a runnable so that it retries a number of times before being
allowed to fail.
- create(Runnable, int, ExceptionHandler, long) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a runnable so that it retries a number of times before being
allowed to fail, backing off exponentially in time.
- create(Supplier<A>, int) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a supplier so that it retries a number of times before being
allowed to fail.
- create(Supplier<A>, int, ExceptionHandler) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a supplier so that it retries a number of times before being
allowed to fail.
- create(Supplier<A>, int, ExceptionHandler, long) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a supplier so that it retries a number of times before being
allowed to fail, backing-off in time exponentially.
- create(Function<A, B>, int) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a function so that it retries a number of times before being
allowed to fail.
- create(Function<A, B>, int, ExceptionHandler) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a function so that it retries a number of times before being
allowed to fail.
- create(Function<A, B>, int, ExceptionHandler, long) - Static method in class io.atlassian.fugue.retry.RetryFactory
-
Decorates a function so that it retries a number of times before being
allowed to fail.
- RetryFactory - Class in io.atlassian.fugue.retry
-
Provides factory methods for RetryFunction, RetryTask, and RetrySupplier.
- RetryFunction<F,T> - Class in io.atlassian.fugue.retry
-
A Function which wraps the apply method of another Function and attempts it
up to a fixed number of times.
- RetryFunction(Function<F, T>, int) - Constructor for class io.atlassian.fugue.retry.RetryFunction
-
An instance that does nothing before retrying and ignores exceptions that
occur.
- RetryFunction(Function<F, T>, int, ExceptionHandler) - Constructor for class io.atlassian.fugue.retry.RetryFunction
-
An instance that does nothing before retrying.
- RetryFunction(Function<F, T>, int, ExceptionHandler, Runnable) - Constructor for class io.atlassian.fugue.retry.RetryFunction
-
Constructor for RetryFunction.
- RetrySupplier<T> - Class in io.atlassian.fugue.retry
-
A Supplier which wraps the apply method of another Supplier and attempts it
up to a fixed number of times.
- RetrySupplier(Supplier<T>, int) - Constructor for class io.atlassian.fugue.retry.RetrySupplier
-
An instance that does nothing before retrying and ignores exceptions that
occur.
- RetrySupplier(Supplier<T>, int, ExceptionHandler) - Constructor for class io.atlassian.fugue.retry.RetrySupplier
-
An instance that does nothing before retrying.
- RetrySupplier(Supplier<T>, int, ExceptionHandler, Runnable) - Constructor for class io.atlassian.fugue.retry.RetrySupplier
-
Constructor for RetrySupplier.
- RetryTask - Class in io.atlassian.fugue.retry
-
A Runnable which wraps the apply method of another Runnable and attempts it a
fixed number of times.
- RetryTask(Runnable, int) - Constructor for class io.atlassian.fugue.retry.RetryTask
-
An instance that does nothing before retrying and ignores exceptions that
occur.
- RetryTask(Runnable, int, ExceptionHandler) - Constructor for class io.atlassian.fugue.retry.RetryTask
-
An instance that does nothing before retrying.
- RetryTask(Runnable, int, ExceptionHandler, Runnable) - Constructor for class io.atlassian.fugue.retry.RetryTask
-
Constructor for RetryTask.
- run() - Method in class io.atlassian.fugue.retry.BeforeRetryExponentialBackoffTask
-
This method causes the current thread to sleep for a duration which doubles
after each successive call.
- run() - Method in class io.atlassian.fugue.retry.BeforeRetryLinearBackoffTask
-
This method causes the current thread to sleep for the time specified when
the instance is constructed.
- run() - Method in class io.atlassian.fugue.retry.RetryTask
-
Attempt to run the wrapped Runnable tries number of times.