Uses of Class
com.azure.core.util.polling.PollResponse
-
Packages that use PollResponse Package Description com.azure.core.util.polling Package containing API for long running operations. -
-
Uses of PollResponse in com.azure.core.util.polling
Methods in com.azure.core.util.polling that return PollResponse Modifier and Type Method Description PollResponse<T>PollingContext. getActivationResponse()PollResponse<T>PollingContext. getLatestResponse()PollResponse<T>SyncPoller. poll()Poll once and return the poll response received.PollResponse<T>SyncPoller. waitForCompletion()Wait for polling to complete.PollResponse<T>SyncPoller. waitForCompletion(Duration timeout)Wait for polling to complete with a timeout.PollResponse<T>SyncPoller. waitUntil(LongRunningOperationStatus statusToWaitFor)Wait for the givenLongRunningOperationStatusto receive.PollResponse<T>SyncPoller. waitUntil(Duration timeout, LongRunningOperationStatus statusToWaitFor)Wait for the givenLongRunningOperationStatus.Methods in com.azure.core.util.polling that return types with arguments of type PollResponse Modifier and Type Method Description Mono<PollResponse<T>>ChainedPollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Parses the initial response into aLongRunningOperationStatus, and stores information useful for polling in thePollingContext.Mono<PollResponse<T>>DefaultPollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Mono<PollResponse<T>>LocationPollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Mono<PollResponse<T>>OperationResourcePollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Mono<PollResponse<T>>PollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Parses the initial response into aLongRunningOperationStatus, and stores information useful for polling in thePollingContext.Mono<PollResponse<T>>StatusCheckPollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Mono<PollResponse<T>>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.Mono<PollResponse<T>>DefaultPollingStrategy. poll(PollingContext<T> context, TypeReference<T> pollResponseType)Mono<PollResponse<T>>LocationPollingStrategy. poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Mono<PollResponse<T>>OperationResourcePollingStrategy. poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType)Mono<PollResponse<T>>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.Mono<PollResponse<T>>StatusCheckPollingStrategy. poll(PollingContext<T> context, TypeReference<T> pollResponseType)Methods in com.azure.core.util.polling with parameters of type PollResponse Modifier and Type Method Description Mono<T>ChainedPollingStrategy. cancel(PollingContext<T> pollingContext, PollResponse<T> initialResponse)Cancels the long-running operation if service supports cancellation.default Mono<T>PollingStrategy. 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 PollResponse Modifier and Type Method Description 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>
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.Constructor parameters in com.azure.core.util.polling with type arguments of type PollResponse Constructor Description 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.
-