Package | Description |
---|---|
com.azure.core.util.polling |
Package containing API for long running operations.
|
Modifier and Type | Method and Description |
---|---|
PollingContext<T> |
PollingContext.setData(String name,
String value)
Set a key-value pair in the context.
|
Modifier and Type | Method and Description |
---|---|
default Mono<T> |
PollingStrategy.cancel(PollingContext<T> pollingContext,
PollResponse<T> initialResponse)
Cancels the long running operation if service supports cancellation.
|
Mono<T> |
ChainedPollingStrategy.cancel(PollingContext<T> pollingContext,
PollResponse<T> initialResponse)
Cancels the long running operation if service supports cancellation.
|
Mono<U> |
DefaultPollingStrategy.getResult(PollingContext<T> context,
TypeReference<U> resultType) |
Mono<U> |
StatusCheckPollingStrategy.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> |
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> |
LocationPollingStrategy.getResult(PollingContext<T> pollingContext,
TypeReference<U> resultType) |
Mono<U> |
OperationResourcePollingStrategy.getResult(PollingContext<T> pollingContext,
TypeReference<U> resultType) |
Mono<PollResponse<T>> |
DefaultPollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
StatusCheckPollingStrategy.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 a
LongRunningOperationStatus , and stores information useful for polling
in the PollingContext . |
Mono<PollResponse<T>> |
ChainedPollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType)
Parses the initial response into a
LongRunningOperationStatus , and stores information useful for polling
in the PollingContext . |
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>> |
DefaultPollingStrategy.poll(PollingContext<T> context,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
StatusCheckPollingStrategy.poll(PollingContext<T> context,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
PollingStrategy.poll(PollingContext<T> pollingContext,
TypeReference<T> pollResponseType)
Parses the response from the polling URL into a
PollResponse , and stores information
useful for further polling and final response in the PollingContext . |
Mono<PollResponse<T>> |
ChainedPollingStrategy.poll(PollingContext<T> context,
TypeReference<T> pollResponseType)
Parses the response from the polling URL into a
PollResponse , and stores information
useful for further polling and final response in the PollingContext . |
Mono<PollResponse<T>> |
LocationPollingStrategy.poll(PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
OperationResourcePollingStrategy.poll(PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Copyright © 2021 Microsoft Corporation. All rights reserved.