MySQL 8.0.39
Source Code Documentation
|
Computed statistics per member. More...
#include <pipeline_stats.h>
Public Member Functions | |
Pipeline_member_stats () | |
Default constructor. More... | |
Pipeline_member_stats (Pipeline_stats_member_message &msg) | |
Constructor. More... | |
Pipeline_member_stats (Pipeline_stats_member_collector *pipeline_stats, ulonglong applier_queue, ulonglong negative_certified, ulonglong certificatin_size) | |
Constructor. More... | |
void | update_member_stats (Pipeline_stats_member_message &msg, uint64 stamp) |
Updates member statistics with a new message from the network. More... | |
bool | is_flow_control_needed () |
Returns true if the node is behind on some user-defined criteria. More... | |
int32 | get_transactions_waiting_certification () |
Get transactions waiting certification counter value. More... | |
int32 | get_transactions_waiting_apply () |
Get transactions waiting apply counter value. More... | |
int64 | get_transactions_certified () |
Get transactions certified counter value. More... | |
int64 | get_transactions_applied () |
Get transactions applied counter value. More... | |
int64 | get_transactions_local () |
Get local member transactions proposed counter value. More... | |
int64 | get_transactions_negative_certified () |
Get transactions negatively certified. More... | |
int64 | get_transactions_rows_validating () |
Get certification database counter value. More... | |
void | get_transaction_committed_all_members (std::string &value) |
Get the stable group transactions. More... | |
void | set_transaction_committed_all_members (char *str, size_t len) |
Set the stable group transactions. More... | |
void | get_transaction_last_conflict_free (std::string &value) |
Get the last positive certified transaction. More... | |
void | set_transaction_last_conflict_free (std::string &value) |
Set the last positive certified transaction. More... | |
int64 | get_transactions_local_rollback () |
Get local member transactions negatively certified. More... | |
int64 | get_delta_transactions_certified () |
Get transactions certified since last stats message. More... | |
int64 | get_delta_transactions_applied () |
Get transactions applied since last stats message. More... | |
int64 | get_delta_transactions_local () |
Get local transactions that member tried to commit since last stats message. More... | |
Flow_control_mode | get_flow_control_mode () |
Get flow_control_mode of a member. More... | |
uint64 | get_stamp () |
Get the last stats update stamp. More... | |
void | debug (const char *member, int64 quota_size, int64 quota_used) |
Computed statistics per member.
Pipeline_member_stats::Pipeline_member_stats | ( | ) |
Default constructor.
Pipeline_member_stats::Pipeline_member_stats | ( | Pipeline_stats_member_message & | msg | ) |
Constructor.
Pipeline_member_stats::Pipeline_member_stats | ( | Pipeline_stats_member_collector * | pipeline_stats, |
ulonglong | applier_queue, | ||
ulonglong | negative_certified, | ||
ulonglong | certificatin_size | ||
) |
Constructor.
int64 Pipeline_member_stats::get_delta_transactions_applied | ( | ) |
Get transactions applied since last stats message.
int64 Pipeline_member_stats::get_delta_transactions_certified | ( | ) |
Get transactions certified since last stats message.
int64 Pipeline_member_stats::get_delta_transactions_local | ( | ) |
Get local transactions that member tried to commit since last stats message.
Flow_control_mode Pipeline_member_stats::get_flow_control_mode | ( | ) |
Get flow_control_mode of a member.
uint64 Pipeline_member_stats::get_stamp | ( | ) |
Get the last stats update stamp.
void Pipeline_member_stats::get_transaction_committed_all_members | ( | std::string & | value | ) |
Get the stable group transactions.
void Pipeline_member_stats::get_transaction_last_conflict_free | ( | std::string & | value | ) |
Get the last positive certified transaction.
int64 Pipeline_member_stats::get_transactions_applied | ( | ) |
Get transactions applied counter value.
int64 Pipeline_member_stats::get_transactions_certified | ( | ) |
Get transactions certified counter value.
int64 Pipeline_member_stats::get_transactions_local | ( | ) |
Get local member transactions proposed counter value.
int64 Pipeline_member_stats::get_transactions_local_rollback | ( | ) |
Get local member transactions negatively certified.
int64 Pipeline_member_stats::get_transactions_negative_certified | ( | ) |
Get transactions negatively certified.
int64 Pipeline_member_stats::get_transactions_rows_validating | ( | ) |
Get certification database counter value.
int32 Pipeline_member_stats::get_transactions_waiting_apply | ( | ) |
Get transactions waiting apply counter value.
int32 Pipeline_member_stats::get_transactions_waiting_certification | ( | ) |
Get transactions waiting certification counter value.
bool Pipeline_member_stats::is_flow_control_needed | ( | ) |
Returns true if the node is behind on some user-defined criteria.
void Pipeline_member_stats::set_transaction_committed_all_members | ( | char * | str, |
size_t | len | ||
) |
Set the stable group transactions.
void Pipeline_member_stats::set_transaction_last_conflict_free | ( | std::string & | value | ) |
Set the last positive certified transaction.
void Pipeline_member_stats::update_member_stats | ( | Pipeline_stats_member_message & | msg, |
uint64 | stamp | ||
) |
Updates member statistics with a new message from the network.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |