24#ifndef GCS_XCOM_STATISTICS_STORAGE_IMPL_H
25#define GCS_XCOM_STATISTICS_STORAGE_IMPL_H
This class is the storage and provider of all statistics coming from either XCom and GCS.
Definition: gcs_xcom_statistics_manager.h:65
GCS implementation of the statistics storage of XCom.
Definition: gcs_xcom_statistics_storage_impl.h:35
void add_bytes_sent(uint64_t bytes_sent) override
Adds to bytes sent to all members.
Definition: gcs_xcom_statistics_storage_impl.cc:34
void set_last_proposal_time(unsigned long long proposal_time) override
Sets the last proposal time.
Definition: gcs_xcom_statistics_storage_impl.cc:58
Gcs_xcom_statistics_manager_interface * m_stats_manager_interface
Definition: gcs_xcom_statistics_storage_impl.h:52
virtual ~Gcs_xcom_statistics_storage_impl() override=default
void add_message() override
Adds one message sent.
Definition: gcs_xcom_statistics_storage_impl.cc:48
void add_empty_proposal_round() override
Adds one Noop proposal round.
Definition: gcs_xcom_statistics_storage_impl.cc:30
void add_proposal_time(unsigned long long proposal_time) override
Adds to the cumulative proposal time.
Definition: gcs_xcom_statistics_storage_impl.cc:38
void add_sucessful_paxos_round() override
Adds one successful PAXOS round.
Definition: gcs_xcom_statistics_storage_impl.cc:26
void add_bytes_received(uint64_t bytes_received) override
Adds to bytes received in this member.
Definition: gcs_xcom_statistics_storage_impl.cc:52
void add_three_phase_paxos() override
Adds one 3-Phase PAXOS round.
Definition: gcs_xcom_statistics_storage_impl.cc:44
Gcs_xcom_statistics_storage_impl(Gcs_xcom_statistics_manager_interface *manager_interface)
Definition: gcs_xcom_statistics_storage_impl.h:37
Interface class for all statistics that XCom will provide.
Definition: statistics_storage_interface.h:33