Package | Description |
---|---|
com.azure.core.util.polling |
Package containing API for long running operations.
|
Modifier and Type | Method and 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(Duration timeout,
LongRunningOperationStatus statusToWaitFor)
Wait for the given
LongRunningOperationStatus . |
PollResponse<T> |
SyncPoller.waitUntil(LongRunningOperationStatus statusToWaitFor)
Wait for the given
LongRunningOperationStatus to receive. |
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.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.