Uses of Class
com.azure.core.util.polling.PollingContext
Package
Description
Package containing the classes that handling long-running operation
for Azure ARM client side http communication with a REST endpoint.
Package containing API for long running operations.
-
Uses of PollingContext in com.azure.core.management.polling
Modifier and TypeMethodDescriptionstatic <T,
U> PollerFlux<PollResult<T>, U> PollerFactory.create
(SerializerAdapter serializerAdapter, HttpPipeline pipeline, Type pollResultType, Type finalResultType, Duration defaultPollInterval, Function<PollingContext<PollResult<T>>, Mono<PollResult<T>>> lroInitOperation) Creates a PollerFlux.static <T,
U> PollerFlux<PollResult<T>, U> PollerFactory.create
(SerializerAdapter serializerAdapter, HttpPipeline pipeline, Type pollResultType, Type finalResultType, Duration defaultPollInterval, Function<PollingContext<PollResult<T>>, Mono<PollResult<T>>> lroInitOperation, Context context) Creates a PollerFlux. -
Uses of PollingContext in com.azure.core.util.polling
Modifier and TypeMethodDescriptionSet a key-value pair in the context.Modifier and TypeMethodDescriptionChainedPollingStrategy.cancel
(PollingContext<T> pollingContext, PollResponse<T> initialResponse) Cancels the long-running operation if service supports cancellation.PollingStrategy.cancel
(PollingContext<T> pollingContext, PollResponse<T> initialResponse) Cancels the long-running operation if service supports cancellation.ChainedPollingStrategy.getResult
(PollingContext<T> context, TypeReference<U> resultType) Parses the response from the final GET call into the result type of the long-running operation.DefaultPollingStrategy.getResult
(PollingContext<T> context, TypeReference<U> resultType) LocationPollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) OperationResourcePollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) PollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) Parses the response from the final GET call into the result type of the long-running operation.StatusCheckPollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) ChainedPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus
, and stores information useful for polling in thePollingContext
.DefaultPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) LocationPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) OperationResourcePollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) PollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus
, and stores information useful for polling in thePollingContext
.StatusCheckPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) ChainedPollingStrategy.poll
(PollingContext<T> context, TypeReference<T> pollResponseType) Parses the response from the polling URL into aPollResponse
, and stores information useful for further polling and final response in thePollingContext
.DefaultPollingStrategy.poll
(PollingContext<T> context, TypeReference<T> pollResponseType) LocationPollingStrategy.poll
(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) OperationResourcePollingStrategy.poll
(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) PollingStrategy.poll
(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the response from the polling URL into aPollResponse
, and stores information useful for further polling and final response in thePollingContext
.StatusCheckPollingStrategy.poll
(PollingContext<T> context, TypeReference<T> pollResponseType) Modifier and TypeMethodDescriptionstatic <T,
U> PollerFlux<T, U> PollerFlux.create
(Duration pollInterval, Function<PollingContext<T>, Mono<PollResponse<T>>> activationOperation, Function<PollingContext<T>, Mono<PollResponse<T>>> pollOperation, BiFunction<PollingContext<T>, PollResponse<T>, Mono<T>> cancelOperation, Function<PollingContext<T>, Mono<U>> fetchResultOperation) Creates PollerFlux.static <T,
U> PollerFlux<T, U> PollerFlux.create
(Duration pollInterval, Function<PollingContext<T>, Mono<PollResponse<T>>> activationOperation, Function<PollingContext<T>, Mono<PollResponse<T>>> pollOperation, BiFunction<PollingContext<T>, PollResponse<T>, Mono<T>> cancelOperation, Function<PollingContext<T>, Mono<U>> fetchResultOperation) Creates PollerFlux.ModifierConstructorDescriptionPollerFlux
(Duration pollInterval, Function<PollingContext<T>, Mono<T>> activationOperation, Function<PollingContext<T>, Mono<PollResponse<T>>> pollOperation, BiFunction<PollingContext<T>, PollResponse<T>, Mono<T>> cancelOperation, Function<PollingContext<T>, Mono<U>> fetchResultOperation) Creates PollerFlux.PollerFlux
(Duration pollInterval, Function<PollingContext<T>, Mono<T>> activationOperation, Function<PollingContext<T>, Mono<PollResponse<T>>> pollOperation, BiFunction<PollingContext<T>, PollResponse<T>, Mono<T>> cancelOperation, Function<PollingContext<T>, Mono<U>> fetchResultOperation) Creates PollerFlux.