Retry.Builder |
Retry.Builder.addApplyOn(Class<? extends Throwable> clazz) |
Add a throwable to be considered a failure.
|
Retry.Builder |
Retry.Builder.addSkipOn(Class<? extends Throwable> clazz) |
This throwable will not be considered retriable.
|
Retry.Builder |
Retry.Builder.applyOn(Class<? extends Throwable>... classes) |
These throwables will be considered failures, and all other will not.
|
static Retry.Builder |
Retry.builder() |
A new builder to customize Retry configuration.
|
Retry.Builder |
Retry.Builder.cancelSource(boolean cancelSource) |
|
Retry.Builder |
Retry.Builder.config(Config config) |
Load all properties for this circuit breaker from configuration.
|
Retry.Builder |
Retry.Builder.name(String name) |
A name assigned for debugging, error reporting or configuration purposes.
|
Retry.Builder |
Retry.Builder.overallTimeout(Duration overallTimeout) |
Overall timeout.
|
Retry.Builder |
Retry.Builder.retryPolicy(Retry.RetryPolicy policy) |
Configure a retry policy to use to calculate delays between retries.
|
Retry.Builder |
Retry.Builder.scheduledExecutor(ScheduledExecutorService scheduledExecutor) |
Executor service to schedule retries.
|
Retry.Builder |
Retry.Builder.skipOn(Class<? extends Throwable>... classes) |
These throwables will not be considered retriable, all other will.
|