Interface SmallRyeFaultToleranceConfig.StrategiesConfig.ExponentialBackoffConfig

Enclosing interface:
SmallRyeFaultToleranceConfig.StrategiesConfig

public static interface SmallRyeFaultToleranceConfig.StrategiesConfig.ExponentialBackoffConfig
  • Method Details

    • enabled

      @ConfigDocDefault("true") Optional<Boolean> enabled()
      Whether the @ExponentialBackoff strategy is enabled.
    • factor

      The multiplicative factor used when determining a delay between two retries. A delay is computed as factor * previousDelay, resulting in an exponential growth.
      See Also:
      • ExponentialBackoff.factor()
    • maxDelay

      @ConfigDocDefault("1 minute") OptionalLong maxDelay()
      The maximum delay between retries.
      See Also:
      • ExponentialBackoff.maxDelay()
    • maxDelayUnit

      Optional<ChronoUnit> maxDelayUnit()
      The unit for maxDelay().
      See Also:
      • ExponentialBackoff.maxDelayUnit()