Index
All Classes and Interfaces|All Packages
A
- apply(F) - Method in class io.atlassian.fugue.retry.RetryFunction
-
Attempt to apply parameter to the wrapped Function tries number of times.
B
- BeforeRetryExponentialBackoffTask - Class in io.atlassian.fugue.retry
-
A backoff task for use in a retry -function, -supplier, or -task.
- BeforeRetryExponentialBackoffTask(long) - Constructor for class io.atlassian.fugue.retry.BeforeRetryExponentialBackoffTask
-
Constructor for BeforeRetryExponentialBackoffTask.
- BeforeRetryLinearBackoffTask - Class in io.atlassian.fugue.retry
-
A backoff task for use in a retry -function, -supplier, or -task.
- BeforeRetryLinearBackoffTask(long) - Constructor for class io.atlassian.fugue.retry.BeforeRetryLinearBackoffTask
-
Constructor for BeforeRetryLinearBackoffTask.
C
- 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(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.
- 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.
E
- ExceptionHandler - Interface in io.atlassian.fugue.retry
-
Takes action when an Exception is thrown.
- ExceptionHandlers - Class in io.atlassian.fugue.retry
-
Provides some standard implementations of various exception actions.
G
- get() - Method in class io.atlassian.fugue.retry.RetrySupplier
-
Attempt to get a result tries number of times.
H
- handle(RuntimeException) - Method in interface io.atlassian.fugue.retry.ExceptionHandler
-
Act on an exception, this method should be called by clients when an exception occurs in wrapped code.
I
- ignoreExceptionHandler() - Static method in class io.atlassian.fugue.retry.ExceptionHandlers
-
ignoreExceptionHandler.
- io.atlassian.fugue.retry - package io.atlassian.fugue.retry
L
- loggingExceptionHandler(Logger) - Static method in class io.atlassian.fugue.retry.ExceptionHandlers
-
Retrieves an
ExceptionHandlerwhich will log exceptions passed in.
R
- 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.
All Classes and Interfaces|All Packages