Package org.bitcoinj.utils
Class ExponentialBackoff.Params
- java.lang.Object
-
- org.bitcoinj.utils.ExponentialBackoff.Params
-
- Enclosing class:
- ExponentialBackoff
public static class ExponentialBackoff.Params extends java.lang.Object
Parameters to configure a particular kind of exponential backoff.
-
-
Constructor Detail
-
Params
public Params(java.time.Duration initialInterval, float multiplier, java.time.Duration maximumInterval)
- Parameters:
initialInterval
- the initial interval to waitmultiplier
- the multiplier to apply on each failuremaximumInterval
- the maximum interval to wait
-
Params
public Params()
Construct params with default values.
-
-