Class RetryPolicy (2.19.0)

The base class for the Pub/Sub library retry policies.

Functions

clone() const

Creates a new instance of the policy, reset to the initial state.

Returns
TypeDescription
std::unique_ptr< RetryPolicy >

OnFailure(Status const &)

Parameter
NameDescription
status Status const &
Returns
TypeDescription
bool

OnFailure(Status const &)

Parameter
NameDescription
status Status const &
Returns
TypeDescription
bool

IsExhausted() const

Returns
TypeDescription
bool

IsExhausted() const

Returns
TypeDescription
bool

IsPermanentFailure(Status const &) const

Parameter
NameDescription
status Status const &
Returns
TypeDescription
bool

IsPermanentFailure(Status const &) const

Parameter
NameDescription
status Status const &
Returns
TypeDescription
bool