Uses of Interface
io.atlassian.fugue.retry.ExceptionHandler
Packages that use ExceptionHandler
-
Uses of ExceptionHandler in io.atlassian.fugue.retry
Classes in io.atlassian.fugue.retry that implement ExceptionHandlerModifier and TypeClassDescriptionprivate static classprivate static class(package private) static classFields in io.atlassian.fugue.retry declared as ExceptionHandlerModifier and TypeFieldDescriptionprivate final ExceptionHandlerRetryFunction.handlerprivate final ExceptionHandlerRetrySupplier.handlerprivate final ExceptionHandler[]ExceptionHandlers.CompositeExceptionHandler.handlersMethods in io.atlassian.fugue.retry that return ExceptionHandlerModifier and TypeMethodDescriptionstatic ExceptionHandlerExceptionHandlers.chain(ExceptionHandler... handlers) Chain a series of ExceptionHandlers together to be executed subsequently; if one throws an exception, subsequent handlers will not be executed.static ExceptionHandlerExceptionHandlers.ignoreExceptionHandler()ignoreExceptionHandler.static ExceptionHandlerExceptionHandlers.loggingExceptionHandler(org.slf4j.Logger logger) Retrieves anExceptionHandlerwhich will log exceptions passed in.Methods in io.atlassian.fugue.retry with parameters of type ExceptionHandlerModifier and TypeMethodDescriptionstatic ExceptionHandlerExceptionHandlers.chain(ExceptionHandler... handlers) Chain a series of ExceptionHandlers together to be executed subsequently; if one throws an exception, subsequent handlers will not be executed.static RunnableRetryFactory.create(Runnable task, int tries, ExceptionHandler handler) Decorates a runnable so that it retries a number of times before being allowed to fail.static RunnableRetryFactory.create(Runnable task, int tries, ExceptionHandler handler, long backoff) Decorates a runnable so that it retries a number of times before being allowed to fail, backing off exponentially in time.static <A,B> Function <A, B> RetryFactory.create(Function<A, B> function, int tries, ExceptionHandler handler) Decorates a function so that it retries a number of times before being allowed to fail.static <A,B> Function <A, B> RetryFactory.create(Function<A, B> function, int tries, ExceptionHandler handler, long backoff) Decorates a function so that it retries a number of times before being allowed to fail.static <A> Supplier<A> RetryFactory.create(Supplier<A> supplier, int tries, ExceptionHandler handler) Decorates a supplier so that it retries a number of times before being allowed to fail.static <A> Supplier<A> RetryFactory.create(Supplier<A> supplier, int tries, ExceptionHandler handler, long backoff) Decorates a supplier so that it retries a number of times before being allowed to fail, backing-off in time exponentially.Constructors in io.atlassian.fugue.retry with parameters of type ExceptionHandlerModifierConstructorDescriptionCompositeExceptionHandler(ExceptionHandler... handlers) RetryFunction(Function<F, T> function, int tries, ExceptionHandler handler) An instance that does nothing before retrying.RetryFunction(Function<F, T> function, int tries, ExceptionHandler handler, Runnable beforeRetry) Constructor for RetryFunction.RetrySupplier(Supplier<T> supplier, int tries, ExceptionHandler handler) An instance that does nothing before retrying.RetrySupplier(Supplier<T> supplier, int tries, ExceptionHandler handler, Runnable beforeRetry) Constructor for RetrySupplier.RetryTask(Runnable task, int tries, ExceptionHandler handler) An instance that does nothing before retrying.RetryTask(Runnable task, int tries, ExceptionHandler handler, Runnable beforeRetry) Constructor for RetryTask.