Uses of Class
com.azure.core.util.polling.LongRunningOperationStatus
-
Uses of LongRunningOperationStatus in com.azure.core.util.polling
Modifier and TypeFieldDescriptionstatic final LongRunningOperationStatus
LongRunningOperationStatus.FAILED
Represents that the long-running operation has failed to successfully complete, however this is still considered as complete long-running operation, meaning that thePollerFlux
instance will report that it is complete.static final LongRunningOperationStatus
LongRunningOperationStatus.IN_PROGRESS
Represents that the long-running operation is in progress and not yet complete.static final LongRunningOperationStatus
LongRunningOperationStatus.NOT_STARTED
Represents that polling has not yet started for this long-running operation.static final LongRunningOperationStatus
LongRunningOperationStatus.SUCCESSFULLY_COMPLETED
Represent that the long-running operation is completed successfully.static final LongRunningOperationStatus
LongRunningOperationStatus.USER_CANCELLED
Represents that the long-running operation is cancelled by user, however this is still considered as complete long-running operation.Modifier and TypeMethodDescriptionstatic LongRunningOperationStatus
LongRunningOperationStatus.fromString
(String name, boolean isComplete) Creates or finds aLongRunningOperationStatus
from its string representation.AsyncPollResponse.getStatus()
Represents the status of the long-running operation at the time the last polling operation finished successfully.PollResponse.getStatus()
Represents the status of the long-running operation at the time the last polling operation finished successfully.Modifier and TypeMethodDescriptionSyncPoller.waitUntil
(LongRunningOperationStatus statusToWaitFor) Wait for the givenLongRunningOperationStatus
to receive.SyncPoller.waitUntil
(Duration timeout, LongRunningOperationStatus statusToWaitFor) Wait for the givenLongRunningOperationStatus
.ModifierConstructorDescriptionPollResponse
(LongRunningOperationStatus status, T value) Creates a newPollResponse
with status and value.PollResponse
(LongRunningOperationStatus status, T value, Duration retryAfter) Creates a newPollResponse
with status, value, retryAfter and properties.