Uses of Class
com.azure.core.util.polling.PollingStrategyOptions
Packages that use PollingStrategyOptions
Package
Description
This package contains utility classes and interfaces for handling long-running operations in the
Azure client libraries.
-
Uses of PollingStrategyOptions in com.azure.core.util.polling
Methods in com.azure.core.util.polling that return PollingStrategyOptionsModifier and TypeMethodDescriptionPollingStrategyOptions.setContext(Context context) Sets the context to use for sending the request using thegetHttpPipeline().PollingStrategyOptions.setEndpoint(String endpoint) Sets the endpoint that will be used as prefix if the service response returns a relative path for getting the long-running operation status and final result.PollingStrategyOptions.setSerializer(ObjectSerializer serializer) Set the serializer to use for serializing and deserializing the request and response.PollingStrategyOptions.setServiceVersion(String serviceVersion) Sets the service version that will be added as query param to each polling request and final result request URL.Constructors in com.azure.core.util.polling with parameters of type PollingStrategyOptionsModifierConstructorDescriptionDefaultPollingStrategy(PollingStrategyOptions pollingStrategyOptions) Creates a chained polling strategy with 3 known polling strategies,OperationResourcePollingStrategy,LocationPollingStrategy, andStatusCheckPollingStrategy, in this order, with a custom serializer.LocationPollingStrategy(PollingStrategyOptions pollingStrategyOptions) Creates an instance of the location polling strategy.OperationResourcePollingStrategy(HttpHeaderName operationLocationHeaderName, PollingStrategyOptions pollingStrategyOptions) Creates an instance of the operation resource polling strategy.SyncDefaultPollingStrategy(PollingStrategyOptions pollingStrategyOptions) Creates a chained polling strategy with 3 known polling strategies,SyncOperationResourcePollingStrategy,SyncLocationPollingStrategy, andSyncStatusCheckPollingStrategy, in this order, with a custom serializer.SyncLocationPollingStrategy(PollingStrategyOptions pollingStrategyOptions) Creates an instance of the location polling strategy.SyncOperationResourcePollingStrategy(HttpHeaderName operationLocationHeaderName, PollingStrategyOptions pollingStrategyOptions) Creates an instance of the operation resource polling strategy.