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(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.