MySQL 26.7.0
Source Code Documentation
mysql::csa::Session_legacy_stats Struct Reference

Aggregates MTA legacy statistics. More...

#include <session_legacy_stats.h>

Public Member Functions

void clear ()
 Resets temporary data (error, transaction information, thread id) More...
 

Public Attributes

Trx_monitoring_info m_ongoing_trx
 Ongoing trx. More...
 
Trx_monitoring_info m_applied_trx
 Last applied trx. More...
 
Slave_reporting_capability::Error m_error
 Last error. More...
 
std::string m_channel_id
 Channel id. More...
 
std::size_t m_psf_worker_id
 PSF worker id (1...N) More...
 
ulonglong m_thread_id
 Thread (psi) id or 0 if unavailable. More...
 
bool m_is_on {false}
 Worker running state: true - active, false - inactive (idle channel) More...
 

Detailed Description

Aggregates MTA legacy statistics.

Member Function Documentation

◆ clear()

void mysql::csa::Session_legacy_stats::clear ( )

Resets temporary data (error, transaction information, thread id)

Member Data Documentation

◆ m_applied_trx

Trx_monitoring_info mysql::csa::Session_legacy_stats::m_applied_trx

Last applied trx.

◆ m_channel_id

std::string mysql::csa::Session_legacy_stats::m_channel_id

Channel id.

◆ m_error

Slave_reporting_capability::Error mysql::csa::Session_legacy_stats::m_error

Last error.

◆ m_is_on

bool mysql::csa::Session_legacy_stats::m_is_on {false}

Worker running state: true - active, false - inactive (idle channel)

◆ m_ongoing_trx

Trx_monitoring_info mysql::csa::Session_legacy_stats::m_ongoing_trx

Ongoing trx.

◆ m_psf_worker_id

std::size_t mysql::csa::Session_legacy_stats::m_psf_worker_id

PSF worker id (1...N)

◆ m_thread_id

ulonglong mysql::csa::Session_legacy_stats::m_thread_id

Thread (psi) id or 0 if unavailable.


The documentation for this struct was generated from the following files: