MySQL 9.1.0
Source Code Documentation
|
GCS implementation of the statistics storage of XCom. More...
#include <gcs_xcom_statistics_storage_impl.h>
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_interface * | m_stats_manager_interface |
GCS implementation of the statistics storage of XCom.
|
inline |
|
overridevirtualdefault |
|
overridevirtual |
Adds to bytes received in this member.
Implements Xcom_statistics_storage_interface.
|
overridevirtual |
Adds to bytes sent to all members.
bytes_sent | the amount of bytes sent to the network. |
Implements Xcom_statistics_storage_interface.
|
overridevirtual |
Adds one Noop proposal round.
Implements Xcom_statistics_storage_interface.
|
overridevirtual |
Adds one message sent.
Implements Xcom_statistics_storage_interface.
|
overridevirtual |
Adds to the cumulative proposal time.
proposal_time | Proposal time to add |
Implements Xcom_statistics_storage_interface.
|
overridevirtual |
Adds one successful PAXOS round.
Implements Xcom_statistics_storage_interface.
|
overridevirtual |
Adds one 3-Phase PAXOS round.
Implements Xcom_statistics_storage_interface.
|
overridevirtual |
Sets the last proposal time.
Implements Xcom_statistics_storage_interface.
|
private |