Class ExponentialBackoff.Params

java.lang.Object
org.bitcoinj.utils.ExponentialBackoff.Params
Enclosing class:
ExponentialBackoff

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

    • Params

      public Params(Duration initialInterval, float multiplier, 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.