public class RetryPolicy extends Object implements HttpPipelinePolicy
| Constructor and Description |
|---|
RetryPolicy()
Creates a default
ExponentialBackoff retry policy. |
RetryPolicy(RetryStrategy retryStrategy)
Creates a RetryPolicy with the provided
RetryStrategy. |
| Modifier and Type | Method and Description |
|---|---|
Mono<HttpResponse> |
process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next)
Process provided request context and invokes the next policy.
|
public RetryPolicy()
ExponentialBackoff retry policy.public RetryPolicy(RetryStrategy retryStrategy)
RetryStrategy.retryStrategy - The RetryStrategy used for retries.public Mono<HttpResponse> process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)
HttpPipelinePolicyprocess in interface HttpPipelinePolicycontext - request contextnext - The next policy to invoke.Copyright © 2019 Microsoft Corporation. All rights reserved.