<E extends Exception> void |
Retrier.run(FailableInterruptibleRunnable<E> toRun) |
Runs the given task with the retry configuration as defined in the constructor, and using only RuntimeException and Error as early exit errors.
|
static <E extends Exception> void |
Retrier.run(FailableInterruptibleRunnable<E> toRun,
int initialWaitTimeMs,
double waitTimeFactor,
int timesToTry) |
Runs the given task with the given retry configuration
|
<E extends Exception> void |
Retrier.run(FailableInterruptibleRunnable<E> toRun,
Collection<Class<? extends E>> terminalErrorTypes) |
Runs the given task with the retry configuration as defined in the constructor
|
static <E extends Exception> void |
Retrier.run(FailableInterruptibleRunnable<E> toRun,
Collection<Class<? extends E>> terminalErrorTypes,
int initialWaitTimeMs,
double waitTimeFactor,
int timesToTry) |
Runs the given task with the given retry configuration
|
<E extends Exception> void |
Retrier.run(FailableInterruptibleRunnable<E> toRun,
Predicate<E> terminalErrorPredicate) |
Runs the given task with the retry configuration as defined in the constructor
|
static <E extends Exception> void |
Retrier.run(FailableInterruptibleRunnable<E> toRun,
Predicate<E> terminalErrorPredicate,
int initialWaitTimeMs,
double waitTimeFactor,
int timesToTry) |
Runs the given task with the given retry configuration
|
static <E extends Exception> void |
Retrier.runWithDefaults(FailableInterruptibleRunnable<E> toRun) |
Runs the given task with the default retry configuration
|
static <E extends Exception> void |
Retrier.runWithDefaults(FailableInterruptibleRunnable<E> toRun,
Collection<Class<? extends E>> terminalErrorTypes) |
Runs the given task with the default retry configuration
|
static <E extends Exception> void |
Retrier.runWithDefaults(FailableInterruptibleRunnable<E> toRun,
Predicate<E> terminalErrorPredicate) |
Runs the given task with the default retry configuration
|