Class RetryPolicy (2.32.0)

The base class for the Spanner library retry policies.

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

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