public static interface Retry.NeedsTimeIncrement
Modifier and Type | Method and Description |
---|---|
Retry.NeedsMaxWait |
incrementBy(long duration,
TimeUnit unit) |
Retry.NeedsMaxWait incrementBy(long duration, TimeUnit unit)
duration
- the amount of additional time to add before each subsequent retry; input is
converted to milliseconds, rounded down to the nearestCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.