public static class RetryConfiguration.Builder extends Object
Builder class for retry configuration.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RetryConfiguration |
build()
Build the retry configuration
|
RetryConfiguration.Builder |
delayStrategy(DelayStrategy delayStrategy) |
RetryConfiguration.Builder |
retryCondition(RetryCondition retryCondition) |
RetryConfiguration.Builder |
retryOptions(RetryOptions retryOptions) |
RetryConfiguration.Builder |
terminationStrategy(TerminationStrategy terminationStrategy) |
public RetryConfiguration.Builder terminationStrategy(@Nonnull TerminationStrategy terminationStrategy)
public RetryConfiguration.Builder delayStrategy(@Nonnull DelayStrategy delayStrategy)
public RetryConfiguration.Builder retryCondition(@Nonnull RetryCondition retryCondition)
public RetryConfiguration.Builder retryOptions(@Nonnull RetryOptions retryOptions)
public RetryConfiguration build()
Build the retry configuration
Copyright © 2016–2024. All rights reserved.