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​(long initialMillis, float multiplier, long maximumMillis)  
    • 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​(long initialMillis,
                      float multiplier,
                      long maximumMillis)
        Parameters:
        initialMillis - the initial interval to wait, in milliseconds
        multiplier - the multiplier to apply on each failure
        maximumMillis - the maximum interval to wait, in milliseconds
      • Params

        public Params()
        Construct params with default values.