24#ifndef STATISTICS_STORAGE_INTERFACE_H
25#define STATISTICS_STORAGE_INTERFACE_H
Interface class for all statistics that XCom will provide.
Definition: statistics_storage_interface.h:33
virtual void add_bytes_received(uint64_t bytes_received)=0
Adds to bytes received in this member.
virtual void add_message()=0
Adds one message sent.
virtual void add_three_phase_paxos()=0
Adds one 3-Phase PAXOS round.
virtual ~Xcom_statistics_storage_interface()=default
virtual void add_bytes_sent(uint64_t bytes_sent)=0
Adds to bytes sent to all members.
virtual void add_proposal_time(unsigned long long proposal_time)=0
Adds to the cumulative proposal time.
virtual void add_sucessful_paxos_round()=0
Adds one successful PAXOS round.
virtual void set_last_proposal_time(unsigned long long proposal_time)=0
Sets the last proposal time.
virtual void add_empty_proposal_round()=0
Adds one Noop proposal round.