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

#include <couchbase/metrics/meter.hxx>

Inheritance diagram for meter:
Inheritance graph

Public Member Functions

 meter ()=default
 
 meter (const meter &other)=default
 
 meter (meter &&other)=default
 
auto operator= (const meter &other) -> meter &=default
 
auto operator= (meter &&other) -> meter &=default
 
virtual ~meter ()=default
 
virtual void start ()
 SDK invokes this method when cluster is ready to emit metrics.
 
virtual void stop ()
 SDK invokes this method when cluster is closed.
 
virtual auto get_value_recorder (const std::string &name, const std::map< std::string, std::string > &tags) -> std::shared_ptr< value_recorder >=0
 

Constructor & Destructor Documentation

◆ meter() [1/3]

meter ( )
default

◆ meter() [2/3]

meter ( const meter & other)
default

◆ meter() [3/3]

meter ( meter && other)
default

◆ ~meter()

virtual ~meter ( )
virtualdefault

Member Function Documentation

◆ get_value_recorder()

virtual auto get_value_recorder ( const std::string & name,
const std::map< std::string, std::string > & tags ) -> std::shared_ptr< value_recorder >
pure virtual

Implemented in otel_meter.

◆ operator=() [1/2]

auto operator= ( const meter & other) -> meter &=default
default

◆ operator=() [2/2]

auto operator= ( meter && other) -> meter &=default
default

◆ start()

virtual void start ( )
inlinevirtual

SDK invokes this method when cluster is ready to emit metrics.

Override it as NO-OP if no action is necessary.

◆ stop()

virtual void stop ( )
inlinevirtual

SDK invokes this method when cluster is closed.

Override it as NO-OP if no action is necessary.


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