public static interface Retry.NeedsMaxWait
Modifier and Type | Method and Description |
---|---|
Retry.NeedsLogInterval |
maxWait(long duration,
TimeUnit unit) |
Retry.NeedsLogInterval maxWait(long duration, TimeUnit unit)
duration
- the maximum amount of time to which the waiting period between retries can be
incremented; input is converted to milliseconds, rounded down to the nearestCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.