Uses of Class
com.google.mu.util.concurrent.Retryer
Package
Description
Parallelizer (parallel stream using Executor), Retryer.
-
Uses of Retryer in com.google.mu.util.concurrent
Modifier and TypeMethodDescriptionRetryer.upon
(Class<E> exceptionType, Predicate<? super E> condition, List<? extends Retryer.Delay<? super E>> delays) Returns a newRetryer
that usesdelays
when an exception is instance ofexceptionType
and satisfiescondition
.Retryer.upon
(Class<E> exceptionType, Predicate<? super E> condition, Stream<? extends Retryer.Delay<? super E>> delays) Returns a newRetryer
that usesdelays
when an exception is instance ofexceptionType
and satisfiescondition
.Retryer.upon
(Class<E> exceptionType, List<? extends Retryer.Delay<? super E>> delays) Returns a newRetryer
that usesdelays
when an exception is instance ofexceptionType
.Retryer.upon
(Class<E> exceptionType, Stream<? extends Retryer.Delay<? super E>> delays) Returns a newRetryer
that usesdelays
when an exception is instance ofexceptionType
.