Define the interface for controlling how the Bigtable client retries RPC operations.
The C++ client for Bigtable needs to hide partial and temporary failures from the application. However, we need to give the users enough flexibility to control how many attempts are made to reissue operations, how often these attempts are executed, and how to signal that an error has occurred.
The application provides an instance of this class when the Table (or TableAdmin) object is created. This instance serves as a prototype to create new RPCRetryPolicy objects of the same (dynamic) type and with the same initial state.
Functions
clone() const
Return a new copy of this object.
Typically implemented as ```cpp
return std::unique_ptr
[[["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-14 UTC."],[[["This document details the `RPCRetryPolicy` class in the Google Cloud Bigtable C++ client, focusing on how it manages retries for RPC operations across various versions."],["The latest version available is `2.37.0-rc`, and the document provides links to the documentation for every version going back to version 2.11.0."],["`RPCRetryPolicy` allows users to control how the Bigtable client attempts to recover from temporary failures by defining the number of retries, the frequency of attempts, and the conditions for signaling errors."],["The `RPCRetryPolicy` object can be cloned, and it updates the `ClientContext` for subsequent calls while also managing the success or failure of RPC calls."],["The `IsPermanentFailure` static functions allow the user to determine if a failure should prevent any subsequent retries, and the `RetryableTraits` alias indicates this class is used for safe retries."]]],[]]