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(long initialMillis, float multiplier, long maximumMillis)
- Parameters:
initialMillis
- the initial interval to wait, in millisecondsmultiplier
- the multiplier to apply on each failuremaximumMillis
- the maximum interval to wait, in milliseconds
-
Params
public Params()
Construct params with default values.
-
-