Class ExponentialBackoffStrategy

  • Direct Known Subclasses:
    ExponentialWithRandomJitterBackoffStrategy

    public class ExponentialBackoffStrategy
    extends BackoffStrategy
    A backoff strategy that increases the delay exponentially with each retry. The delay is calculated as: Math.min(minRetryDelayMs * Math.pow(2, retryCount), maxRetryDelayMs)
    • Constructor Detail

      • ExponentialBackoffStrategy

        public ExponentialBackoffStrategy()
      • ExponentialBackoffStrategy

        protected ExponentialBackoffStrategy​(long minRetryDelayMs,
                                             long maxRetryDelayMs)