public interface WaitStrategy
| 限定符和类型 | 方法和说明 |
|---|---|
long |
computeWaitTime(Attempt failedAttempt)
Returns the time, in milliseconds, to sleep before retrying.
|
long computeWaitTime(Attempt failedAttempt)
failedAttempt - the previous failed AttemptCopyright © 2019. All rights reserved.