Uses of Class
com.azure.core.util.polling.LongRunningOperationStatus
Packages that use LongRunningOperationStatus
Package
Description
This package contains utility classes and interfaces for handling long-running operations in the
Azure client libraries.
-
Uses of LongRunningOperationStatus in com.azure.core.util.polling
Fields in com.azure.core.util.polling declared as LongRunningOperationStatusModifier and TypeFieldDescriptionstatic final LongRunningOperationStatusLongRunningOperationStatus.FAILEDRepresents that the long-running operation has failed to successfully complete, however this is still considered as complete long-running operation, meaning that thePollerFluxinstance will report that it is complete.static final LongRunningOperationStatusLongRunningOperationStatus.IN_PROGRESSRepresents that the long-running operation is in progress and not yet complete.static final LongRunningOperationStatusLongRunningOperationStatus.NOT_STARTEDRepresents that polling has not yet started for this long-running operation.static final LongRunningOperationStatusLongRunningOperationStatus.SUCCESSFULLY_COMPLETEDRepresent that the long-running operation is completed successfully.static final LongRunningOperationStatusLongRunningOperationStatus.USER_CANCELLEDRepresents that the long-running operation is cancelled by user, however this is still considered as complete long-running operation.Methods in com.azure.core.util.polling that return LongRunningOperationStatusModifier and TypeMethodDescriptionstatic LongRunningOperationStatusLongRunningOperationStatus.fromString(String name, boolean isComplete) Creates or finds aLongRunningOperationStatusfrom 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.Methods in com.azure.core.util.polling with parameters of type LongRunningOperationStatusModifier and TypeMethodDescriptionSyncPoller.waitUntil(LongRunningOperationStatus statusToWaitFor) Wait for the givenLongRunningOperationStatusto receive.SyncPoller.waitUntil(Duration timeout, LongRunningOperationStatus statusToWaitFor) Wait for the givenLongRunningOperationStatuswith a timeout.Constructors in com.azure.core.util.polling with parameters of type LongRunningOperationStatusModifierConstructorDescriptionPollResponse(LongRunningOperationStatus status, T value) Creates a newPollResponsewith status and value.PollResponse(LongRunningOperationStatus status, T value, Duration retryAfter) Creates a newPollResponsewith status, value, retryAfter and properties.