Incremental Class
- java.
lang. Object - RetryStrategy
- com.
microsoft. azure. elasticdb. core. commons. transientfaulthandling. Incremental
- com.
public class Incremental extends RetryStrategy
A retry strategy with a specified number of retry attempts and an incremental time interval between retries.
Constructor Summary
Constructor | Description |
---|---|
Incremental() |
Initializes a new instance of the Incremental class. |
Incremental(int retryCount, Duration initialInterval, Duration increment) |
Initializes a new instance of the Incremental class with the specified retry settings. |
Incremental(String name, int retryCount, Duration initialInterval, Duration increment) |
Initializes a new instance of the Incremental class with the specified name and retry settings. |
Incremental(String name, int retryCount, Duration initialInterval, Duration increment, boolean firstFastRetry) |
Initializes a new instance of the Incremental class with the specified number of retry attempts, time interval, retry strategy, and fast start option. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Should |
getShouldRetry()
Returns the corresponding ShouldRetry delegate. |
Inherited Members
Constructor Details
Incremental
public Incremental()
Initializes a new instance of the Incremental class.
Incremental
public Incremental(int retryCount, Duration initialInterval, Duration increment)
Initializes a new instance of the Incremental class with the specified retry settings.
Parameters:
Incremental
public Incremental(String name, int retryCount, Duration initialInterval, Duration increment)
Initializes a new instance of the Incremental class with the specified name and retry settings.
Parameters:
Incremental
public Incremental(String name, int retryCount, Duration initialInterval, Duration increment, boolean firstFastRetry)
Initializes a new instance of the Incremental class with the specified number of retry attempts, time interval, retry strategy, and fast start option.
Parameters:
Method Details
getShouldRetry
public ShouldRetry getShouldRetry()
Returns the corresponding ShouldRetry delegate.
Returns:
Applies to
Azure SDK for Java