MySQL 8.4.0
Source Code Documentation
Gcs_xcom_statistics_storage_impl Class Reference

GCS implementation of the statistics storage of XCom. More...

#include <gcs_xcom_statistics_storage_impl.h>

Inheritance diagram for Gcs_xcom_statistics_storage_impl:
[legend]

Public Member Functions

 Gcs_xcom_statistics_storage_impl (Gcs_xcom_statistics_manager_interface *manager_interface)
 
virtual ~Gcs_xcom_statistics_storage_impl () override=default
 
void add_sucessful_paxos_round () override
 Adds one successful PAXOS round. More...
 
void add_empty_proposal_round () override
 Adds one Noop proposal round. More...
 
void add_bytes_sent (uint64_t bytes_sent) override
 Adds to bytes sent to all members. More...
 
void add_proposal_time (unsigned long long proposal_time) override
 Adds to the cumulative proposal time. More...
 
void add_three_phase_paxos () override
 Adds one 3-Phase PAXOS round. More...
 
void add_message () override
 Adds one message sent. More...
 
void add_bytes_received (uint64_t bytes_received) override
 Adds to bytes received in this member. More...
 
void set_last_proposal_time (unsigned long long proposal_time) override
 Sets the last proposal time. More...
 
- Public Member Functions inherited from Xcom_statistics_storage_interface
virtual ~Xcom_statistics_storage_interface ()=default
 

Private Attributes

Gcs_xcom_statistics_manager_interfacem_stats_manager_interface
 

Detailed Description

GCS implementation of the statistics storage of XCom.

Constructor & Destructor Documentation

◆ Gcs_xcom_statistics_storage_impl()

Gcs_xcom_statistics_storage_impl::Gcs_xcom_statistics_storage_impl ( Gcs_xcom_statistics_manager_interface manager_interface)
inline

◆ ~Gcs_xcom_statistics_storage_impl()

virtual Gcs_xcom_statistics_storage_impl::~Gcs_xcom_statistics_storage_impl ( )
overridevirtualdefault

Member Function Documentation

◆ add_bytes_received()

void Gcs_xcom_statistics_storage_impl::add_bytes_received ( uint64_t  bytes_received)
overridevirtual

Adds to bytes received in this member.

Implements Xcom_statistics_storage_interface.

◆ add_bytes_sent()

void Gcs_xcom_statistics_storage_impl::add_bytes_sent ( uint64_t  bytes_sent)
overridevirtual

Adds to bytes sent to all members.

Parameters
bytes_sentthe amount of bytes sent to the network.

Implements Xcom_statistics_storage_interface.

◆ add_empty_proposal_round()

void Gcs_xcom_statistics_storage_impl::add_empty_proposal_round ( )
overridevirtual

Adds one Noop proposal round.

Implements Xcom_statistics_storage_interface.

◆ add_message()

void Gcs_xcom_statistics_storage_impl::add_message ( )
overridevirtual

Adds one message sent.

Implements Xcom_statistics_storage_interface.

◆ add_proposal_time()

void Gcs_xcom_statistics_storage_impl::add_proposal_time ( unsigned long long  proposal_time)
overridevirtual

Adds to the cumulative proposal time.

Parameters
proposal_timeProposal time to add

Implements Xcom_statistics_storage_interface.

◆ add_sucessful_paxos_round()

void Gcs_xcom_statistics_storage_impl::add_sucessful_paxos_round ( )
overridevirtual

Adds one successful PAXOS round.

Implements Xcom_statistics_storage_interface.

◆ add_three_phase_paxos()

void Gcs_xcom_statistics_storage_impl::add_three_phase_paxos ( )
overridevirtual

Adds one 3-Phase PAXOS round.

Implements Xcom_statistics_storage_interface.

◆ set_last_proposal_time()

void Gcs_xcom_statistics_storage_impl::set_last_proposal_time ( unsigned long long  proposal_time)
overridevirtual

Sets the last proposal time.

Implements Xcom_statistics_storage_interface.

Member Data Documentation

◆ m_stats_manager_interface

Gcs_xcom_statistics_manager_interface* Gcs_xcom_statistics_storage_impl::m_stats_manager_interface
private

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