the maximum time allowed before the policy expires. While the application can express this time in any units they desire, the class truncates to milliseconds.
typename DurationRep
a placeholder to match the Rep tparam for duration's type. The semantics of this template parameter are documented in std::chrono::duration<>. In brief, the underlying arithmetic type used to store the number of ticks. For our purposes it is simply a formal parameter.
typename DurationPeriod
a placeholder to match the Period tparam for duration's type. The semantics of this template parameter are documented in std::chrono::duration<>. In brief, the length of the tick in seconds, expressed as a std::ratio<>. For our purposes it is simply a formal parameter.
[[["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 document provides information on the `ProfilerServiceLimitedTimeRetryPolicy` class, which is used to determine if and when to retry RPCs (Remote Procedure Calls) based on elapsed time in the Google Cloud C++ client library, specifically for the Profiler service."],["The `ProfilerServiceLimitedTimeRetryPolicy` stops retrying when a non-transient error is received or if the total elapsed time of retries exceeds a set maximum duration."],["Transient errors, such as `kUnavailable`, are the only errors that trigger retries."],["The class has constructors that take a `std::chrono::duration` to set the maximum retry duration, and it supports the ability to clone itself to make new instances reset to initial state."],["The document lists different version numbers, ranging from `2.11.0` to `2.37.0-rc`, for the documentation related to `ProfilerServiceLimitedTimeRetryPolicy` and `ProfilerServiceConnection`, with links to their respective documentation."]]],[]]