A retry policy for EventServiceConnection
based on elapsed time.
This policy stops retrying if:
- An RPC returns a non-transient error.
- The elapsed time in the retry loop exceeds a prescribed duration.
In this class the following status codes are treated as transient errors:
Constructors
EventServiceLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
Constructor given a std::chrono::duration<>
object.