MySQL 8.4.2
Source Code Documentation
Gcs_xcom_statistics_manager_interface_impl Class Reference

#include <gcs_xcom_statistics_manager.h>

Inheritance diagram for Gcs_xcom_statistics_manager_interface_impl:
[legend]

Public Member Functions

 Gcs_xcom_statistics_manager_interface_impl ()
 
virtual ~Gcs_xcom_statistics_manager_interface_impl () override=default
 
uint64_t get_sum_var_value (Gcs_cumulative_statistics_enum to_get) const override
 
void set_sum_var_value (Gcs_cumulative_statistics_enum to_set, uint64_t to_add) override
 
uint64_t get_count_var_value (Gcs_counter_statistics_enum to_get) const override
 
void set_count_var_value (Gcs_counter_statistics_enum to_set) override
 
unsigned long long get_timestamp_var_value (Gcs_time_statistics_enum to_get) const override
 
void set_timestamp_var_value (Gcs_time_statistics_enum to_set, unsigned long long new_value) override
 
void set_sum_timestamp_var_value (Gcs_time_statistics_enum to_set, unsigned long long to_add) override
 
std::vector< Gcs_node_suspiciousget_all_suspicious () const override
 
void add_suspicious_for_a_node (std::string node_id) override
 
- Public Member Functions inherited from Gcs_xcom_statistics_manager_interface
 Gcs_xcom_statistics_manager_interface ()=default
 
virtual ~Gcs_xcom_statistics_manager_interface ()=default
 

Private Attributes

std::vector< uint64_t > m_sum_statistics
 
std::vector< uint64_t > m_count_statistics
 
std::vector< unsigned long long > m_time_statistics
 
std::map< std::string, uint64_t > m_suspicious_statistics
 

Constructor & Destructor Documentation

◆ Gcs_xcom_statistics_manager_interface_impl()

Gcs_xcom_statistics_manager_interface_impl::Gcs_xcom_statistics_manager_interface_impl ( )
inline

◆ ~Gcs_xcom_statistics_manager_interface_impl()

virtual Gcs_xcom_statistics_manager_interface_impl::~Gcs_xcom_statistics_manager_interface_impl ( )
overridevirtualdefault

Member Function Documentation

◆ add_suspicious_for_a_node()

void Gcs_xcom_statistics_manager_interface_impl::add_suspicious_for_a_node ( std::string  node_id)
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::add_suspicious_for_a_node

Implements Gcs_xcom_statistics_manager_interface.

◆ get_all_suspicious()

std::vector< Gcs_node_suspicious > Gcs_xcom_statistics_manager_interface_impl::get_all_suspicious ( ) const
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::get_all_suspicious

Implements Gcs_xcom_statistics_manager_interface.

◆ get_count_var_value()

uint64_t Gcs_xcom_statistics_manager_interface_impl::get_count_var_value ( Gcs_counter_statistics_enum  to_get) const
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::get_count_var_value

Implements Gcs_xcom_statistics_manager_interface.

◆ get_sum_var_value()

uint64_t Gcs_xcom_statistics_manager_interface_impl::get_sum_var_value ( Gcs_cumulative_statistics_enum  to_get) const
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::get_sum_var_value

Implements Gcs_xcom_statistics_manager_interface.

◆ get_timestamp_var_value()

unsigned long long Gcs_xcom_statistics_manager_interface_impl::get_timestamp_var_value ( Gcs_time_statistics_enum  to_get) const
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::get_timestamp_var_value

Implements Gcs_xcom_statistics_manager_interface.

◆ set_count_var_value()

void Gcs_xcom_statistics_manager_interface_impl::set_count_var_value ( Gcs_counter_statistics_enum  to_set)
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::set_count_var_value

Implements Gcs_xcom_statistics_manager_interface.

◆ set_sum_timestamp_var_value()

void Gcs_xcom_statistics_manager_interface_impl::set_sum_timestamp_var_value ( Gcs_time_statistics_enum  to_set,
unsigned long long  to_add 
)
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::set_sum_timestamp_var_value

Implements Gcs_xcom_statistics_manager_interface.

◆ set_sum_var_value()

void Gcs_xcom_statistics_manager_interface_impl::set_sum_var_value ( Gcs_cumulative_statistics_enum  to_set,
uint64_t  to_add 
)
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::set_sum_var_value

Implements Gcs_xcom_statistics_manager_interface.

◆ set_timestamp_var_value()

void Gcs_xcom_statistics_manager_interface_impl::set_timestamp_var_value ( Gcs_time_statistics_enum  to_set,
unsigned long long  new_value 
)
overridevirtual
See also
Gcs_xcom_statistics_manager_interface::set_timestamp_var_value

Implements Gcs_xcom_statistics_manager_interface.

Member Data Documentation

◆ m_count_statistics

std::vector<uint64_t> Gcs_xcom_statistics_manager_interface_impl::m_count_statistics
private

◆ m_sum_statistics

std::vector<uint64_t> Gcs_xcom_statistics_manager_interface_impl::m_sum_statistics
private

◆ m_suspicious_statistics

std::map<std::string, uint64_t> Gcs_xcom_statistics_manager_interface_impl::m_suspicious_statistics
private

◆ m_time_statistics

std::vector<unsigned long long> Gcs_xcom_statistics_manager_interface_impl::m_time_statistics
private

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