Package org.bitcoinj.utils
Class ExponentialBackoff.Params
java.lang.Object
org.bitcoinj.utils.ExponentialBackoff.Params
- Enclosing class:
- ExponentialBackoff
Parameters to configure a particular kind of exponential backoff.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
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.
-