Class RetryPolicy (2.29.0-rc)

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
Type Description
std::unique_ptr< RetryPolicy >

OnFailure(Status const &)

Parameter
Name Description
status Status const &
Returns
Type Description
bool

OnFailure(Status const &)

Parameter
Name Description
status Status const &
Returns
Type Description
bool

IsExhausted() const

Returns
Type Description
bool

IsExhausted() const

Returns
Type Description
bool

IsPermanentFailure(Status const &) const

Parameter
Name Description
status Status const &
Returns
Type Description
bool

IsPermanentFailure(Status const &) const

Parameter
Name Description
status Status const &
Returns
Type Description
bool