RequestRetryOptions Class

Definition

Options for configuring the RequestRetryFactory. Please refer to the Factory for more information. Note that there is no option for overall operation timeout. This is because Rx object have a timeout field which provides this functionality.

public class RequestRetryOptions
Inheritance
java.lang.Object
RequestRetryOptions

Constructors

RequestRetryOptions()

Constructor with default retry values: Exponential backoff, maxTries=4, tryTimeout=30, retryDelayInMs=4000, maxRetryDelayInMs=120000, secondaryHost=null.

RequestRetryOptions(RetryPolicyType retryPolicyType, Integer maxTries, Integer tryTimeout, Long retryDelayInMs, Long maxRetryDelayInMs, String secondaryHost)

Configures how the com.microsoft.rest.v2.http.HttpPipeline should retry requests.

Applies to