userver: ugrpc::client::RetryLimiter Class Reference
Loading...
Searching...
No Matches
ugrpc::client::RetryLimiter Class Referenceabstract

#include <userver/ugrpc/client/retry_limiter.hpp>

Detailed Description

Interface for controlling retry behavior based on request outcomes.

Tracks success/failure rates and decides whether retries should be allowed. Implementations must be thread-safe.

See also
RetryLimiterFactory

Definition at line 26 of file retry_limiter.hpp.

Public Member Functions

virtual void AccountCompletion (const CompletionStatus &completion_status)=0
 
virtual bool CanRetry () const =0
 Check if a retry should be attempted.
 

Member Function Documentation

◆ CanRetry()

virtual bool ugrpc::client::RetryLimiter::CanRetry ( ) const
pure virtual

Check if a retry should be attempted.

Returns
true if retry is allowed, false otherwise.

The documentation for this class was generated from the following file: