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-04-09 UTC."],[[["The provided content is a documentation page for the `ExponentialPollAlgorithm` class in version 2.7.1 of the Google API client library for Java, specifically within the `com.google.api.gax.retrying` package."],["`ExponentialPollAlgorithm` is a thread-safe class that extends `ExponentialRetryAlgorithm` and uses a jittered exponential backoff factor to determine the next poll execution time."],["This algorithm may throw a `PollException` if the total timeout or the total number of attempts has been reached during the execution of the polling."],["The class has a constructor that accepts `RetrySettings` and `ApiClock` to customize the polling behavior, such as total time or attempts, and time-specific calculations."],["The class' `shouldRetry` method determines if another poll attempt should be made based on the provided `TimedAttemptSettings`, throwing a `PollException` instead of returning `false` when no more attempts are allowed."]]],[]]