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-08-28 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eOperationTimedPollAlgorithm\u003c/code\u003e class, which is a part of the Google Cloud API Client Libraries for Java (gax) and uses exponential backoff for polling operations.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationTimedPollAlgorithm\u003c/code\u003e extends \u003ccode\u003eExponentialRetryAlgorithm\u003c/code\u003e, and inherits several methods for managing retry attempts and determining RPC termination.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides static \u003ccode\u003ecreate\u003c/code\u003e methods to instantiate the algorithm with optional \u003ccode\u003eRetrySettings\u003c/code\u003e and \u003ccode\u003eApiClock\u003c/code\u003e parameters for customization.\u003c/p\u003e\n"],["\u003cp\u003eKey methods of this class are \u003ccode\u003eshouldRPCTerminate\u003c/code\u003e which determines if the polling should be terminated based on time, and \u003ccode\u003eshouldRetry\u003c/code\u003e which determines if another polling attempt should be made, throwing a \u003ccode\u003eCancellationException\u003c/code\u003e when it shouldn't.\u003c/p\u003e\n"]]],[],null,[]]