MySQL 9.1.0
Source Code Documentation
Plugin_status_variables Class Reference

Group Replication plugin status variables proxy. More...

#include <plugin_status_variables.h>

Public Member Functions

 Plugin_status_variables ()=delete
 
 ~Plugin_status_variables ()=delete
 

Static Public Member Functions

static int get_control_messages_sent_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_data_messages_sent_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_control_messages_sent_bytes_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_data_messages_sent_bytes_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_control_messages_sent_roundtrip_time_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_data_messages_sent_roundtrip_time_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_transactions_consistency_before_begin_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_transactions_consistency_before_begin_time_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_transactions_consistency_after_termination_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_transactions_consistency_after_termination_time_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_transactions_consistency_after_sync_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_transactions_consistency_after_sync_time_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_certification_garbage_collector_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_certification_garbage_collector_time_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_all_consensus_proposals_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_empty_consensus_proposals_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_consensus_bytes_sent_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_consensus_bytes_received_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_all_consensus_time_sum (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_extended_consensus_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_total_messages_sent_count (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 
static int get_last_consensus_end_timestamp (MYSQL_THD thd, SHOW_VAR *var, char *buffer)
 Copy to buffer parameter the last consensus end timestamp in the format: 'YYYY-MM-DD hh:mm:ss.microseconds' in UTC timezone. More...
 

Detailed Description

Group Replication plugin status variables proxy.

Constructor & Destructor Documentation

◆ Plugin_status_variables()

Plugin_status_variables::Plugin_status_variables ( )
delete

◆ ~Plugin_status_variables()

Plugin_status_variables::~Plugin_status_variables ( )
delete

Member Function Documentation

◆ get_all_consensus_proposals_count()

int Plugin_status_variables::get_all_consensus_proposals_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Gcs_operations::get_all_consensus_proposals_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_all_consensus_time_sum()

int Plugin_status_variables::get_all_consensus_time_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Gcs_operations::get_all_consensus_time_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_certification_garbage_collector_count()

int Plugin_status_variables::get_certification_garbage_collector_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_certification_garbage_collector_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_certification_garbage_collector_time_sum()

int Plugin_status_variables::get_certification_garbage_collector_time_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_certification_garbage_collector_time_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_consensus_bytes_received_sum()

int Plugin_status_variables::get_consensus_bytes_received_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Gcs_operations::get_consensus_bytes_received_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_consensus_bytes_sent_sum()

int Plugin_status_variables::get_consensus_bytes_sent_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Gcs_operations::get_consensus_bytes_sent_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_control_messages_sent_bytes_sum()

int Plugin_status_variables::get_control_messages_sent_bytes_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_control_messages_sent_bytes_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_control_messages_sent_count()

int Plugin_status_variables::get_control_messages_sent_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_control_messages_sent_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_control_messages_sent_roundtrip_time_sum()

int Plugin_status_variables::get_control_messages_sent_roundtrip_time_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_control_messages_sent_roundtrip_time_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_data_messages_sent_bytes_sum()

int Plugin_status_variables::get_data_messages_sent_bytes_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_data_messages_sent_bytes_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_data_messages_sent_count()

int Plugin_status_variables::get_data_messages_sent_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_data_messages_sent_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_data_messages_sent_roundtrip_time_sum()

int Plugin_status_variables::get_data_messages_sent_roundtrip_time_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_data_messages_sent_roundtrip_time_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_empty_consensus_proposals_count()

int Plugin_status_variables::get_empty_consensus_proposals_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Gcs_operations::get_empty_consensus_proposals_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_extended_consensus_count()

int Plugin_status_variables::get_extended_consensus_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Gcs_operations::get_extended_consensus_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_last_consensus_end_timestamp()

int Plugin_status_variables::get_last_consensus_end_timestamp ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static

Copy to buffer parameter the last consensus end timestamp in the format: 'YYYY-MM-DD hh:mm:ss.microseconds' in UTC timezone.

If there is no last consensus, a empty string is copied.

See also
Gcs_operations::get_last_consensus_end_timestamp()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_total_messages_sent_count()

int Plugin_status_variables::get_total_messages_sent_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Gcs_operations::get_total_messages_sent_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_transactions_consistency_after_sync_count()

int Plugin_status_variables::get_transactions_consistency_after_sync_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_transactions_consistency_after_sync_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_transactions_consistency_after_sync_time_sum()

int Plugin_status_variables::get_transactions_consistency_after_sync_time_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_transactions_consistency_after_sync_time_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_transactions_consistency_after_termination_count()

int Plugin_status_variables::get_transactions_consistency_after_termination_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_transactions_consistency_after_termination_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_transactions_consistency_after_termination_time_sum()

int Plugin_status_variables::get_transactions_consistency_after_termination_time_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_transactions_consistency_after_termination_time_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_transactions_consistency_before_begin_count()

int Plugin_status_variables::get_transactions_consistency_before_begin_count ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_transactions_consistency_before_begin_count()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

◆ get_transactions_consistency_before_begin_time_sum()

int Plugin_status_variables::get_transactions_consistency_before_begin_time_sum ( MYSQL_THD  thd,
SHOW_VAR var,
char *  buffer 
)
static
See also
Metrics_handler::get_transactions_consistency_before_begin_time_sum()
Parameters
[in]thdThe caller session.
[out]varThe status variable.
[out]bufferThe buffer on which the value will be stored.
Returns
the operation status
Return values
0OK
!=0Error

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