Operation timed polling algorithm, which uses exponential backoff factor for determining when the
next polling operation should be executed. If the polling exceeds the total timeout this
algorithm cancels polling.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `OperationTimedPollAlgorithm` class, which is a part of the Google Cloud API Client Libraries for Java (gax) and uses exponential backoff for polling operations."],["The latest version available is 2.63.1, with a range of historical versions listed down to 2.7.1, all of which are linked and can be navigated."],["`OperationTimedPollAlgorithm` extends `ExponentialRetryAlgorithm`, and inherits several methods for managing retry attempts and determining RPC termination."],["The class provides static `create` methods to instantiate the algorithm with optional `RetrySettings` and `ApiClock` parameters for customization."],["Key methods of this class are `shouldRPCTerminate` which determines if the polling should be terminated based on time, and `shouldRetry` which determines if another polling attempt should be made, throwing a `CancellationException` when it shouldn't."]]],[]]