Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
Define the interface for providing asynchronous repetitive call rules. More...
#include <google/cloud/bigtable/polling_policy.h>
Public Member Functions | |
virtual | ~PollingPolicy ()=default |
virtual std::unique_ptr< PollingPolicy > | clone () const =0 |
Return a new copy of this object. More... | |
virtual void | Setup (grpc::ClientContext &context)=0 |
virtual bool | IsPermanentError (grpc::Status const &status) |
Return true if status represents a permanent error that cannot be retried. More... | |
virtual bool | IsPermanentError (Status const &status)=0 |
Return true if status represents a permanent error that cannot be retried. More... | |
virtual bool | OnFailure (grpc::Status const &status) |
Handle an RPC failure. More... | |
virtual bool | OnFailure (Status const &status)=0 |
Handle an RPC failure. More... | |
virtual bool | Exhausted ()=0 |
Return true if we cannot try again. More... | |
virtual std::chrono::milliseconds | WaitPeriod ()=0 |
Return for how long we should wait before trying again. More... | |
Define the interface for providing asynchronous repetitive call rules.
|
virtualdefault |
|
pure virtual |
Return a new copy of this object.
Typically implemented as
Implemented in google::cloud::bigtable::GenericPollingPolicy< Retry, Backoff >.
|
pure virtual |
Return true if we cannot try again.
Implemented in google::cloud::bigtable::GenericPollingPolicy< Retry, Backoff >.
|
inlinevirtual |
Return true if status
represents a permanent error that cannot be retried.
TODO(#2344): remove grpc::Status
version.
|
pure virtual |
Return true if status
represents a permanent error that cannot be retried.
Implemented in google::cloud::bigtable::GenericPollingPolicy< Retry, Backoff >.
|
inlinevirtual |
Handle an RPC failure.
TODO(#2344): remove grpc::Status
version.
|
pure virtual |
Handle an RPC failure.
Implemented in google::cloud::bigtable::GenericPollingPolicy< Retry, Backoff >.
|
pure virtual |
Implemented in google::cloud::bigtable::GenericPollingPolicy< Retry, Backoff >.
|
pure virtual |
Return for how long we should wait before trying again.
Implemented in google::cloud::bigtable::GenericPollingPolicy< Retry, Backoff >.