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

#include <couchbase/metrics_options.hxx>

Classes

struct  built
 

Public Member Functions

auto enable (bool enable) -> metrics_options &
 
auto emit_interval (std::chrono::milliseconds interval) -> metrics_options &
 
auto meter (std::shared_ptr< metrics::meter > custom_meter) -> metrics_options &
 
auto build () const -> built
 

Static Public Attributes

static constexpr std::chrono::milliseconds default_emit_interval { std::chrono::minutes{ 10 } }
 

Member Function Documentation

◆ build()

auto build ( ) const -> built
inlinenodiscard

◆ emit_interval()

auto emit_interval ( std::chrono::milliseconds interval) -> metrics_options&
inline

◆ enable()

auto enable ( bool enable) -> metrics_options&
inline

◆ meter()

auto meter ( std::shared_ptr< metrics::meter > custom_meter) -> metrics_options&
inline

Member Data Documentation

◆ default_emit_interval

std::chrono::milliseconds default_emit_interval { std::chrono::minutes{ 10 } }
staticconstexpr

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