Uses of Class
com.azure.core.http.policy.RetryOptions
Packages that use RetryOptions
Package
Description
This package contains interfaces that represent common cross-cutting aspects of functionality offered by libraries
in the Azure SDK for Java.
This package contains the HttpPipelinePolicy interface and its implementations.
Package containing core utility classes.
Package containing utilities for client builders.
-
Uses of RetryOptions in com.azure.core.client.traits
Methods in com.azure.core.client.traits with parameters of type RetryOptionsModifier and TypeMethodDescriptionHttpTrait.retryOptions(RetryOptions retryOptions) Sets theRetryOptionsfor all the requests made through the client. -
Uses of RetryOptions in com.azure.core.http.policy
Methods in com.azure.core.http.policy that return RetryOptionsModifier and TypeMethodDescriptionRetryOptions.setShouldRetryCondition(Predicate<RequestRetryCondition> shouldRetryCondition) Sets the predicate that determines if a retry should be attempted.Constructors in com.azure.core.http.policy with parameters of type RetryOptionsModifierConstructorDescriptionRetryPolicy(RetryOptions retryOptions) Creates aRetryPolicywith the providedRetryOptions. -
Uses of RetryOptions in com.azure.core.util
Methods in com.azure.core.util with parameters of type RetryOptionsModifier and TypeMethodDescriptionstatic Flux<ByteBuffer> FluxUtil.createRetriableDownloadFlux(Supplier<Flux<ByteBuffer>> downloadSupplier, BiFunction<Throwable, Long, Flux<ByteBuffer>> onDownloadErrorResume, RetryOptions retryOptions, long position) Creates aFluxthat is capable of resuming a download by applying retry logic when an error occurs. -
Uses of RetryOptions in com.azure.core.util.builder
Methods in com.azure.core.util.builder with parameters of type RetryOptionsModifier and TypeMethodDescriptionstatic HttpPipelinePolicyClientBuilderUtil.validateAndGetRetryPolicy(HttpPipelinePolicy retryPolicy, RetryOptions retryOptions) This method validates that customizedretry policyand customizedRetryOptionsare mutually exclusive.static HttpPipelinePolicyClientBuilderUtil.validateAndGetRetryPolicy(HttpPipelinePolicy retryPolicy, RetryOptions retryOptions, HttpPipelinePolicy defaultPolicy) This method validates that customizedretry policyand customizedRetryOptionsare mutually exclusive.