Couchbase C++ SDK 1.2.0 (rev. c2439a4)
Loading...
Searching...
No Matches
best_effort_retry_strategy Class Reference

#include <couchbase/best_effort_retry_strategy.hxx>

Inheritance diagram for best_effort_retry_strategy:
Inheritance graph

Public Member Functions

 best_effort_retry_strategy (backoff_calculator calculator)
 ~best_effort_retry_strategy () override=default
auto retry_after (const retry_request &request, retry_reason reason) -> retry_action override
auto to_string () const -> std::string override
Public Member Functions inherited from retry_strategy
 retry_strategy ()=default
 retry_strategy (const retry_strategy &)=default
 retry_strategy (retry_strategy &&)=default
auto operator= (const retry_strategy &) -> retry_strategy &=default
auto operator= (retry_strategy &&) -> retry_strategy &=default
virtual ~retry_strategy ()=default

Detailed Description

Constructor & Destructor Documentation

◆ best_effort_retry_strategy()

◆ ~best_effort_retry_strategy()

~best_effort_retry_strategy ( )
overridedefault

Member Function Documentation

◆ retry_after()

auto retry_after ( const retry_request & request,
retry_reason reason ) -> retry_action
overridevirtual

Implements retry_strategy.

Examples
distributed_mutex.cxx.

◆ to_string()

auto to_string ( ) const -> std::string
nodiscardoverridevirtual

Implements retry_strategy.


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