Class TenantServiceLimitedTimeRetryPolicy (2.20.0-rc)

A retry policy for TenantServiceConnection 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

TenantServiceLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)

Constructor given a std::chrono::duration<> object.

See Also