Uses of Class
com.azure.core.util.polling.PollingContext
-
Packages that use PollingContext Package Description com.azure.core.util.polling Package containing API for long running operations. -
-
Uses of PollingContext in com.azure.core.util.polling
Methods in com.azure.core.util.polling that return PollingContext Modifier and Type Method Description PollingContext<T>
PollingContext. setData(String name, String value)
Set a key-value pair in the context.Methods in com.azure.core.util.polling with parameters of type PollingContext 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.Mono<U>
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.Mono<U>
DefaultPollingStrategy. getResult(PollingContext<T> context, TypeReference<U> resultType)
Mono<U>
LocationPollingStrategy. getResult(PollingContext<T> pollingContext, TypeReference<U> resultType)
Mono<U>
OperationResourcePollingStrategy. getResult(PollingContext<T> pollingContext, TypeReference<U> resultType)
Mono<U>
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.Mono<U>
StatusCheckPollingStrategy. getResult(PollingContext<T> pollingContext, TypeReference<U> resultType)
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)
Method parameters in com.azure.core.util.polling with type arguments of type PollingContext 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 PollingContext 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.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.
-