Class ExponentialBackoff.Params

  • Enclosing class:
    ExponentialBackoff

    public static class ExponentialBackoff.Params
    extends java.lang.Object
    Parameters to configure a particular kind of exponential backoff.
    • Constructor Summary

      Constructors 
      Constructor Description
      Params()
      Construct params with default values.
      Params​(java.time.Duration initialInterval, float multiplier, java.time.Duration maximumInterval)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Params

        public Params​(java.time.Duration initialInterval,
                      float multiplier,
                      java.time.Duration maximumInterval)
        Parameters:
        initialInterval - the initial interval to wait
        multiplier - the multiplier to apply on each failure
        maximumInterval - the maximum interval to wait
      • Params

        public Params()
        Construct params with default values.