The timed poll algorithm which uses jittered exponential backoff factor for calculating the next
poll execution time and throws PollException in case if total timeout or total number of
attempts is reached.
[[["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 details the `ExponentialPollAlgorithm` class, which is a timed poll algorithm in the `com.google.api.gax.retrying` package, that calculates the next poll execution time using a jittered exponential backoff factor."],["The `ExponentialPollAlgorithm` class is thread-safe and extends `ExponentialRetryAlgorithm`, inheriting various methods for managing retry attempts."],["The constructor `ExponentialPollAlgorithm(RetrySettings globalSettings, ApiClock clock)` creates a new instance, requiring `RetrySettings` for global poll settings and `ApiClock` for time-specific calculations."],["The `shouldRetry(TimedAttemptSettings nextAttemptSettings)` method determines if another poll attempt should occur, returning true if further attempts are needed, or throws a `PollException` if the timeout or attempt limit is reached."],["The page provides links to documentation for numerous versions of the `ExponentialPollAlgorithm` class, starting from version 2.63.1 down to version 2.7.1."]]],[]]