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

#include <couchbase/timeout_options.hxx>

Classes

struct  built
 

Public Member Functions

auto analytics_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto connect_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto eventing_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto key_value_durable_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto key_value_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto management_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto query_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto search_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto view_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto bootstrap_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto resolve_timeout (std::chrono::milliseconds timeout) -> timeout_options &
 
auto build () const -> built
 

Static Public Attributes

static constexpr std::chrono::milliseconds default_analytics_timeout
 
static constexpr std::chrono::milliseconds default_connect_timeout { std::chrono::seconds{ 10 } }
 
static constexpr std::chrono::milliseconds default_eventing_timeout { std::chrono::seconds{ 75 } }
 
static constexpr std::chrono::milliseconds default_key_value_durable_timeout
 
static constexpr std::chrono::milliseconds default_key_value_timeout { 2'500 }
 
static constexpr std::chrono::milliseconds default_management_timeout
 
static constexpr std::chrono::milliseconds default_query_timeout { std::chrono::seconds{ 75 } }
 
static constexpr std::chrono::milliseconds default_search_timeout { std::chrono::seconds{ 75 } }
 
static constexpr std::chrono::milliseconds default_view_timeout { std::chrono::seconds{ 75 } }
 
static constexpr std::chrono::milliseconds default_bootstrap_timeout
 
static constexpr std::chrono::milliseconds default_resolve_timeout { std::chrono::seconds{ 2 } }
 

Member Function Documentation

◆ analytics_timeout()

auto analytics_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ bootstrap_timeout()

auto bootstrap_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ build()

auto build ( ) const -> built
inlinenodiscard

◆ connect_timeout()

auto connect_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ eventing_timeout()

auto eventing_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ key_value_durable_timeout()

auto key_value_durable_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ key_value_timeout()

auto key_value_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ management_timeout()

auto management_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ query_timeout()

auto query_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ resolve_timeout()

auto resolve_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ search_timeout()

auto search_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

◆ view_timeout()

auto view_timeout ( std::chrono::milliseconds timeout) -> timeout_options&
inline

Member Data Documentation

◆ default_analytics_timeout

std::chrono::milliseconds default_analytics_timeout
staticconstexpr
Initial value:
{ std::chrono::seconds{
75 } }

◆ default_bootstrap_timeout

std::chrono::milliseconds default_bootstrap_timeout
staticconstexpr
Initial value:
{ std::chrono::seconds{
10 } }

◆ default_connect_timeout

std::chrono::milliseconds default_connect_timeout { std::chrono::seconds{ 10 } }
staticconstexpr

◆ default_eventing_timeout

std::chrono::milliseconds default_eventing_timeout { std::chrono::seconds{ 75 } }
staticconstexpr

◆ default_key_value_durable_timeout

std::chrono::milliseconds default_key_value_durable_timeout
staticconstexpr
Initial value:
{
std::chrono::seconds{ 10 }
}

◆ default_key_value_timeout

std::chrono::milliseconds default_key_value_timeout { 2'500 }
staticconstexpr

◆ default_management_timeout

std::chrono::milliseconds default_management_timeout
staticconstexpr
Initial value:
{ std::chrono::seconds{
75 } }

◆ default_query_timeout

std::chrono::milliseconds default_query_timeout { std::chrono::seconds{ 75 } }
staticconstexpr

◆ default_resolve_timeout

std::chrono::milliseconds default_resolve_timeout { std::chrono::seconds{ 2 } }
staticconstexpr

◆ default_search_timeout

std::chrono::milliseconds default_search_timeout { std::chrono::seconds{ 75 } }
staticconstexpr

◆ default_view_timeout

std::chrono::milliseconds default_view_timeout { std::chrono::seconds{ 75 } }
staticconstexpr

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