Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
Implement a simple "count errors and then stop" retry policy. More...
#include <google/cloud/bigtable/rpc_retry_policy.h>
Public Types | |
using | RetryableTraits = internal::SafeGrpcRetry |
Public Member Functions | |
LimitedErrorCountRetryPolicy (int maximum_failures) | |
std::unique_ptr< RPCRetryPolicy > | clone () const override |
Return a new copy of this object. More... | |
void | Setup (grpc::ClientContext &context) const override |
Update the ClientContext for the next call. More... | |
bool | OnFailure (Status const &status) override |
Handle an RPC failure. More... | |
bool | OnFailure (grpc::Status const &status) override |
bool | IsExhausted () const override |
Static Public Member Functions | |
static bool | IsPermanentFailure (Status const &status) |
static bool | IsPermanentFailure (grpc::Status const &status) |
Implement a simple "count errors and then stop" retry policy.
|
inherited |
|
inlineexplicit |
|
overridevirtual |
Return a new copy of this object.
Typically implemented as
Implements google::cloud::bigtable::RPCRetryPolicy.
|
overridevirtual |
Reimplemented from google::cloud::bigtable::RPCRetryPolicy.
|
inlinestaticinherited |
|
inlinestaticinherited |
|
overridevirtual |
Implements google::cloud::bigtable::RPCRetryPolicy.
|
overridevirtual |
Handle an RPC failure.
Implements google::cloud::bigtable::RPCRetryPolicy.
|
overridevirtual |
Update the ClientContext for the next call.
Implements google::cloud::bigtable::RPCRetryPolicy.