Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
request_tracer Class Referenceabstract

#include <couchbase/tracing/request_tracer.hxx>

Inheritance diagram for request_tracer:
Inheritance graph

Public Member Functions

 request_tracer ()=default
 
 request_tracer (const request_tracer &other)=default
 
 request_tracer (request_tracer &&other)=default
 
auto operator= (const request_tracer &other) -> request_tracer &=default
 
auto operator= (request_tracer &&other) -> request_tracer &=default
 
virtual ~request_tracer ()=default
 
virtual void start ()
 SDK invokes this method when cluster is ready to trace.
 
virtual void stop ()
 SDK invokes this method when cluster is closed.
 
virtual auto start_span (std::string name, std::shared_ptr< request_span > parent={}) -> std::shared_ptr< request_span >=0
 

Constructor & Destructor Documentation

◆ request_tracer() [1/3]

request_tracer ( )
default

◆ request_tracer() [2/3]

request_tracer ( const request_tracer & other)
default

◆ request_tracer() [3/3]

request_tracer ( request_tracer && other)
default

◆ ~request_tracer()

virtual ~request_tracer ( )
virtualdefault

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ start()

virtual void start ( )
inlinevirtual

SDK invokes this method when cluster is ready to trace.

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

◆ start_span()

virtual auto start_span ( std::string name,
std::shared_ptr< request_span > parent = {} ) -> std::shared_ptr< request_span >
pure virtual

◆ 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: