Class RetryPolicy (2.28.0)

The base class for the Spanner 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