Class ExponentialBackOff.Builder

    • Field Detail

      • initialIntervalMillis

        int initialIntervalMillis
        The initial retry interval in milliseconds.
      • randomizationFactor

        double randomizationFactor
        The randomization factor to use for creating a range around the retry interval.

        A randomization factor of 0.5 results in a random period ranging between 50% below and 50% above the retry interval.

      • multiplier

        double multiplier
        The value to multiply the current interval with for each retry attempt.
      • maxIntervalMillis

        int maxIntervalMillis
        The maximum value of the back off period in milliseconds. Once the retry interval reaches this value it stops increasing.
    • Constructor Detail

      • Builder

        public Builder()