public static class ExponentialBackoff.Params extends Object
Constructor and Description |
---|
ExponentialBackoff.Params()
Construct params with default values.
|
ExponentialBackoff.Params(long initialMillis,
float multiplier,
long maximumMillis) |
public ExponentialBackoff.Params(long initialMillis, float multiplier, long maximumMillis)
initialMillis
- the initial interval to wait, in millisecondsmultiplier
- the multiplier to apply on each failuremaximumMillis
- the maximum interval to wait, in millisecondspublic ExponentialBackoff.Params()
Copyright © 2014. All rights reserved.