ExponentialBackoffRetry Interface
public interface ExponentialBackoffRetry
Defines an exponential backoff retry strategy, where the delay between retries will get progressively larger, limited by the max/min specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
maximumInterval()
The maximum delay interval. |
int |
maxRetryCount()
The maximum number of retries that will be attempted. |
String |
minimumInterval()
The minimum delay interval. |
String |
strategy()
The strategy of retries that will be used internally. |
Method Details
maximumInterval
public String maximumInterval()
The maximum delay interval.
Returns:
maxRetryCount
public int maxRetryCount()
The maximum number of retries that will be attempted.
Returns:
minimumInterval
public String minimumInterval()
The minimum delay interval.
Returns:
strategy
public String strategy() default "exponentialBackoff"
The strategy of retries that will be used internally.
Returns:
Applies to
Azure SDK for Java