| Package | Description |
|---|---|
| com.azure.core.util.polling |
Package containing API for Long Running Operations.
|
| Modifier and Type | Method and Description |
|---|---|
PollResponse.OperationStatus |
Poller.getStatus()
Current known status as a result of last poll event or last response from a manual polling.
|
PollResponse.OperationStatus |
PollResponse.getStatus()
Represents the status of the long-running operation at the time the last polling operation finished successfully.
|
static PollResponse.OperationStatus |
PollResponse.OperationStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollResponse.OperationStatus[] |
PollResponse.OperationStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
PollResponse(PollResponse.OperationStatus status,
T value)
Creates a new
PollResponse with status and value. |
PollResponse(PollResponse.OperationStatus status,
T value,
Duration retryAfter)
Creates a new
PollResponse with status, value and retryAfter. |
PollResponse(PollResponse.OperationStatus status,
T value,
Duration retryAfter,
Map<Object,Object> properties)
Creates a new
PollResponse with status, value, retryAfter and properties. |
Copyright © 2019 Microsoft Corporation. All rights reserved.