public final class RequestRetryFactory extends Object implements com.microsoft.rest.v2.policy.RequestPolicyFactory
HttpPipeline for retrying a given HTTP request. The request
that is retried will be identical each time it is reissued. In most cases, it is sufficient to configure a
RequestRetryOptions object and set those as a field on a PipelineOptions object to configure a
default pipeline. Retries will try against a secondary if one is specified and the type of operation/error indicates
that the secondary can handle the request. Exponential and fixed backoff are supported. The factory and policy must
only be used directly when creating a custom pipeline.| Constructor and Description |
|---|
RequestRetryFactory(RequestRetryOptions requestRetryOptions)
Creates a factory capable of generating RequestRetry policies for the
HttpPipeline. |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.rest.v2.policy.RequestPolicy |
create(com.microsoft.rest.v2.policy.RequestPolicy next,
com.microsoft.rest.v2.policy.RequestPolicyOptions options) |
public RequestRetryFactory(RequestRetryOptions requestRetryOptions)
HttpPipeline.requestRetryOptions - RequestRetryOptionsCopyright © 2018. All rights reserved.