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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["This webpage provides documentation for the `OperationTimedPollAlgorithm` class, which is a part of the Google Cloud API Client Libraries for Java (gax) and extends `ExponentialRetryAlgorithm`."],["The `OperationTimedPollAlgorithm` class implements an exponential backoff strategy for determining the timing of the next polling operation, canceling polling when a timeout is exceeded."],["The page lists numerous versions of the `OperationTimedPollAlgorithm` class, from version 2.63.1 (latest) down to 2.7.1, all having specific URLs where you can access their details."],["The class offers two static methods for creation: `create(RetrySettings globalSettings)` which uses a default clock and `create(RetrySettings globalSettings, ApiClock clock)` which takes a specific clock."],["`OperationTimedPollAlgorithm` overrides `shouldRPCTerminate(long timeLeftMs)` and `shouldRetry(TimedAttemptSettings nextAttemptSettings)` from `ExponentialRetryAlgorithm`, where `shouldRetry` determines if another poll should occur or throws a `CancellationException`."]]],[]]