Uses of Class
com.azure.core.util.polling.PollResponse
Packages that use PollResponse
Package
Description
This package contains utility classes and interfaces for handling long-running operations in the
Azure client libraries.
-
Uses of PollResponse in com.azure.core.util.polling
Methods in com.azure.core.util.polling that return PollResponseModifier and TypeMethodDescriptionPollingContext.getActivationResponse()Gets the activationPollResponseholding the result of an activation operation call.PollingContext.getLatestResponse()Gets the latestPollResponsein the polling operation.SyncChainedPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus, and stores information useful for polling in thePollingContext.SyncDefaultPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) SyncLocationPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) SyncOperationResourcePollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) SyncPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus, and stores information useful for polling in thePollingContext.SyncStatusCheckPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) SyncChainedPollingStrategy.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.SyncDefaultPollingStrategy.poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) SyncLocationPollingStrategy.poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) SyncOperationResourcePollingStrategy.poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) SyncPoller.poll()Poll once and return the poll response received.SyncPollingStrategy.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.SyncStatusCheckPollingStrategy.poll(PollingContext<T> context, TypeReference<T> pollResponseType) SyncPoller.waitForCompletion()Wait for polling to complete.SyncPoller.waitForCompletion(Duration timeout) Wait for polling to complete with a timeout.SyncPoller.waitUntil(LongRunningOperationStatus statusToWaitFor) Wait for the givenLongRunningOperationStatusto receive.SyncPoller.waitUntil(Duration timeout, LongRunningOperationStatus statusToWaitFor) Wait for the givenLongRunningOperationStatuswith a timeout.Methods in com.azure.core.util.polling that return types with arguments of type PollResponseModifier and TypeMethodDescriptionChainedPollingStrategy.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) Methods in com.azure.core.util.polling with parameters of type PollResponseModifier 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.SyncChainedPollingStrategy.cancel(PollingContext<T> pollingContext, PollResponse<T> initialResponse) Cancels the long-running operation if service supports cancellation.SyncDefaultPollingStrategy.cancel(PollingContext<T> pollingContext, PollResponse<T> initialResponse) default TSyncPollingStrategy.cancel(PollingContext<T> pollingContext, PollResponse<T> initialResponse) Cancels the long-running operation if service supports cancellation.Method parameters in com.azure.core.util.polling with type arguments of type PollResponseModifier 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.static <T,U> SyncPoller <T, U> SyncPoller.createPoller(Duration pollInterval, Function<PollingContext<T>, PollResponse<T>> syncActivationOperation, Function<PollingContext<T>, PollResponse<T>> pollOperation, BiFunction<PollingContext<T>, PollResponse<T>, T> cancelOperation, Function<PollingContext<T>, U> fetchResultOperation) Creates default SyncPoller.static <T,U> SyncPoller <T, U> SyncPoller.createPoller(Duration pollInterval, Function<PollingContext<T>, PollResponse<T>> syncActivationOperation, Function<PollingContext<T>, PollResponse<T>> pollOperation, BiFunction<PollingContext<T>, PollResponse<T>, T> cancelOperation, Function<PollingContext<T>, U> fetchResultOperation) Creates default SyncPoller.Constructor parameters in com.azure.core.util.polling with type arguments of type PollResponseModifierConstructorDescriptionPollerFlux(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.