MySQL 8.4.0
Source Code Documentation
Xcom_statistics_storage_interface Class Referenceabstract

Interface class for all statistics that XCom will provide. More...

#include <statistics_storage_interface.h>

Inheritance diagram for Xcom_statistics_storage_interface:
[legend]

Public Member Functions

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

Detailed Description

Interface class for all statistics that XCom will provide.

Constructor & Destructor Documentation

◆ ~Xcom_statistics_storage_interface()

virtual Xcom_statistics_storage_interface::~Xcom_statistics_storage_interface ( )
virtualdefault

Member Function Documentation

◆ add_bytes_received()

virtual void Xcom_statistics_storage_interface::add_bytes_received ( uint64_t  bytes_received)
pure virtual

Adds to bytes received in this member.

Implemented in Gcs_xcom_statistics_storage_impl, and Xcom_statistics_storage_interface_default_impl.

◆ add_bytes_sent()

virtual void Xcom_statistics_storage_interface::add_bytes_sent ( uint64_t  bytes_sent)
pure virtual

Adds to bytes sent to all members.

Parameters
bytes_sentthe amount of bytes sent to the network.

Implemented in Gcs_xcom_statistics_storage_impl, and Xcom_statistics_storage_interface_default_impl.

◆ add_empty_proposal_round()

virtual void Xcom_statistics_storage_interface::add_empty_proposal_round ( )
pure virtual

Adds one Noop proposal round.

Implemented in Gcs_xcom_statistics_storage_impl, and Xcom_statistics_storage_interface_default_impl.

◆ add_message()

virtual void Xcom_statistics_storage_interface::add_message ( )
pure virtual

◆ add_proposal_time()

virtual void Xcom_statistics_storage_interface::add_proposal_time ( unsigned long long  proposal_time)
pure virtual

Adds to the cumulative proposal time.

Parameters
proposal_timeProposal time to add

Implemented in Gcs_xcom_statistics_storage_impl.

◆ add_sucessful_paxos_round()

virtual void Xcom_statistics_storage_interface::add_sucessful_paxos_round ( )
pure virtual

Adds one successful PAXOS round.

Implemented in Gcs_xcom_statistics_storage_impl, and Xcom_statistics_storage_interface_default_impl.

◆ add_three_phase_paxos()

virtual void Xcom_statistics_storage_interface::add_three_phase_paxos ( )
pure virtual

Adds one 3-Phase PAXOS round.

Implemented in Gcs_xcom_statistics_storage_impl, and Xcom_statistics_storage_interface_default_impl.

◆ set_last_proposal_time()

virtual void Xcom_statistics_storage_interface::set_last_proposal_time ( unsigned long long  proposal_time)
pure virtual

Sets the last proposal time.

Implemented in Gcs_xcom_statistics_storage_impl.


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