Uses of Interface
io.atlassian.fugue.retry.ExceptionHandler
-
Packages that use ExceptionHandler Package Description io.atlassian.fugue.retry -
-
Uses of ExceptionHandler in io.atlassian.fugue.retry
Classes in io.atlassian.fugue.retry that implement ExceptionHandler Modifier and Type Class Description private static classExceptionHandlers.CompositeExceptionHandlerprivate static classExceptionHandlers.IgnoreExceptionHandler(package private) static classExceptionHandlers.LoggingExceptionHandlerFields in io.atlassian.fugue.retry declared as ExceptionHandler Modifier and Type Field Description private ExceptionHandlerRetryFunction. handlerprivate ExceptionHandlerRetrySupplier. handlerprivate ExceptionHandler[]ExceptionHandlers.CompositeExceptionHandler. handlersMethods in io.atlassian.fugue.retry that return ExceptionHandler Modifier and Type Method Description static 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 ExceptionHandler Modifier and Type Method Description static 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 java.lang.RunnableRetryFactory. create(java.lang.Runnable task, int tries, ExceptionHandler handler)Decorates a runnable so that it retries a number of times before being allowed to fail.static java.lang.RunnableRetryFactory. create(java.lang.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>
java.util.function.Function<A,B>RetryFactory. create(java.util.function.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>
java.util.function.Function<A,B>RetryFactory. create(java.util.function.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> java.util.function.Supplier<A>RetryFactory. create(java.util.function.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> java.util.function.Supplier<A>RetryFactory. create(java.util.function.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 ExceptionHandler Constructor Description CompositeExceptionHandler(ExceptionHandler... handlers)RetryFunction(java.util.function.Function<F,T> function, int tries, ExceptionHandler handler)An instance that does nothing before retrying.RetryFunction(java.util.function.Function<F,T> function, int tries, ExceptionHandler handler, java.lang.Runnable beforeRetry)Constructor for RetryFunction.RetrySupplier(java.util.function.Supplier<T> supplier, int tries, ExceptionHandler handler)An instance that does nothing before retrying.RetrySupplier(java.util.function.Supplier<T> supplier, int tries, ExceptionHandler handler, java.lang.Runnable beforeRetry)Constructor for RetrySupplier.RetryTask(java.lang.Runnable task, int tries, ExceptionHandler handler)An instance that does nothing before retrying.RetryTask(java.lang.Runnable task, int tries, ExceptionHandler handler, java.lang.Runnable beforeRetry)Constructor for RetryTask.
-