[[["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 page details the `TpuLimitedErrorCountRetryPolicy` class, which manages retry attempts for `TpuConnection` based on a predefined number of allowed transient errors."],["The policy halts retries if a non-transient error occurs or if the number of transient errors exceeds the configured `maximum_failures`."],["Transient errors in this context are defined as those returning the `kUnavailable` status code."],["The class provides constructors to create an instance with a specified `maximum_failures` limit, and a user can disable the retry loop by setting the `maximum_failures` parameter to 0."],["The policy includes functions like `maximum_failures()`, `OnFailure()`, `IsExhausted()`, `IsPermanentFailure()`, and `clone()` to control retry behavior and check the policy's state, also having `BaseType` as an alias of `TpuRetryPolicy`."]]],[]]