Class DefaultPollingStrategy<T,​U>

  • Type Parameters:
    T - the type of the response type from a polling call, or BinaryData if raw response body should be kept
    U - the type of the final result object to deserialize into, or BinaryData if raw response body should be kept
    All Implemented Interfaces:
    PollingStrategy<T,​U>

    public final class DefaultPollingStrategy<T,​U>
    extends Object
    implements PollingStrategy<T,​U>
    The default polling strategy to use with Azure data plane services. The default polling strategy will attempt 3 known strategies, OperationResourcePollingStrategy, LocationPollingStrategy, and StatusCheckPollingStrategy, in this order. The first strategy that can poll on the initial response will be used. The created chained polling strategy is capable of handling most of the polling scenarios in Azure.