Class TpuRetryPolicy (2.33.0)

The retry policy for TpuConnection.

Functions

clone() const

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

Returns
Type Description
std::unique_ptr< TpuRetryPolicy >

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