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