Group Replication plugin status variables proxy.  
 More...
#include <plugin_status_variables.h>
 | 
| 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...
  | 
|   | 
Group Replication plugin status variables proxy. 
 
◆ Plugin_status_variables()
  
  
      
        
          | Plugin_status_variables::Plugin_status_variables  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
delete   | 
  
 
 
◆ ~Plugin_status_variables()
  
  
      
        
          | Plugin_status_variables::~Plugin_status_variables  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
delete   | 
  
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
◆ 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] | thd | The caller session.  | 
    | [out] | var | The status variable.  | 
    | [out] | buffer | The buffer on which the value will be stored. | 
  
   
- Returns
 - the operation status 
 
- Return values
 - 
  
  
 
 
 
The documentation for this class was generated from the following files: