Interface SmallRyeFaultToleranceConfig.StrategiesConfig.ExponentialBackoffConfig
- Enclosing interface:
SmallRyeFaultToleranceConfig.StrategiesConfig
public static interface SmallRyeFaultToleranceConfig.StrategiesConfig.ExponentialBackoffConfig
-
Method Summary
Modifier and TypeMethodDescriptionenabled()Whether the@ExponentialBackoffstrategy is enabled.factor()The multiplicative factor used when determining a delay between two retries.maxDelay()The maximum delay between retries.The unit formaxDelay().
-
Method Details
-
enabled
Whether the@ExponentialBackoffstrategy is enabled. -
factor
The multiplicative factor used when determining a delay between two retries. A delay is computed asfactor * previousDelay, resulting in an exponential growth.- See Also:
-
maxDelay
The maximum delay between retries.- See Also:
-
maxDelayUnit
Optional<ChronoUnit> maxDelayUnit()The unit formaxDelay().- See Also:
-