public interface IRetryStrategy
Modifier and Type | Method and Description |
---|---|
long |
getRetryDelay(int retryCount,
long initialDelay)
Returns the amount of time to wait (in milliseconds) before retrying the operation.
|
long getRetryDelay(int retryCount, long initialDelay)
retryCount
- The number of retry attempts that have already been made starting with zero (0).initialDelay
- The amount of time (in milliseconds) to wait before the first retry attempt.initialDelay
if this is the first retry attempt.Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.