public interface RetryPolicy
| Modifier and Type | Method and Description |
|---|---|
long |
nextRetryMs(int retryCount,
long elapsedTimeMs)
Called when an operation is failed for some reason to determine if it should be retried.
|
long nextRetryMs(int retryCount,
long elapsedTimeMs)
retryCount - the number of times retried so far (0 the first time)elapsedTimeMs - the elapsed time in ms since the operation was attemptedCopyright © 2024. All rights reserved.