Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
retry_action Class Reference

#include <couchbase/retry_action.hxx>

Public Member Functions

 retry_action (std::chrono::milliseconds waiting_duration)
 
auto need_to_retry () const -> bool
 
auto duration () const -> std::chrono::milliseconds
 

Static Public Member Functions

static auto do_not_retry () -> const retry_action &
 

Detailed Description

Constructor & Destructor Documentation

◆ retry_action()

retry_action ( std::chrono::milliseconds waiting_duration)
explicit

Member Function Documentation

◆ do_not_retry()

static auto do_not_retry ( ) -> const retry_action &
static

◆ duration()

auto duration ( ) const -> std::chrono::milliseconds
inlinenodiscard

◆ need_to_retry()

auto need_to_retry ( ) const -> bool
nodiscard

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