MySQL 8.0.39
Source Code Documentation
Tracer::Event Class Reference

#include <tracer.h>

Classes

class  Stage
 

Public Types

enum class  Direction {
  kClientToRouter , kRouterToClient , kServerToRouter , kRouterToServer ,
  kClientClose , kServerClose
}
 
enum class  Wait { kRead , kSend }
 

Public Member Functions

std::optional< Directiondirection () const
 
std::optional< Stagestage () const
 
Eventstage (std::string_view s)
 
Eventdirection (Direction dir)
 

Private Attributes

std::optional< Directiondirection_
 
std::optional< Stagestage_
 

Member Enumeration Documentation

◆ Direction

enum class Tracer::Event::Direction
strong
Enumerator
kClientToRouter 
kRouterToClient 
kServerToRouter 
kRouterToServer 
kClientClose 
kServerClose 

◆ Wait

enum class Tracer::Event::Wait
strong
Enumerator
kRead 
kSend 

Member Function Documentation

◆ direction() [1/2]

std::optional< Direction > Tracer::Event::direction ( ) const
inline

◆ direction() [2/2]

Event & Tracer::Event::direction ( Direction  dir)
inline

◆ stage() [1/2]

std::optional< Stage > Tracer::Event::stage ( ) const
inline

◆ stage() [2/2]

Event & Tracer::Event::stage ( std::string_view  s)
inline

Member Data Documentation

◆ direction_

std::optional<Direction> Tracer::Event::direction_
private

◆ stage_

std::optional<Stage> Tracer::Event::stage_
private

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