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.
[[["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 page details the `RPCRetryPolicy` class in the Google Cloud Bigtable C++ client library, which is used to manage how the client retries RPC operations."],["The `RPCRetryPolicy` provides methods to create copies of itself, update the `ClientContext` for each call, and determine if a failed operation should be retried."],["The `RPCRetryPolicy` object is used as a prototype, where a copy can be created with the same initial state and type."],["The `OnFailure` method handles RPC failures, and if it returns true, then the RPC operation will be attempted again."],["The `IsExhausted`, `IsPermanentFailure` functions provide crucial methods to determine if any more attempts can be made and if a failure is considered permanent, respectively."]]],[]]