MySQL 9.7.0
Source Code Documentation
group_replication_flow_control_stats.cc File Reference

Functions

 REQUIRES_SERVICE_PLACEHOLDER_AS (status_variable_registration, statvar_register_srv)
 
 REQUIRES_SERVICE_PLACEHOLDER_AS (group_replication_flow_control_metrics_service, gr_flow_control_service)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_runtime_error)
 
static int gr_flow_control_throttle_count (THD *, SHOW_VAR *var, char *buf)
 
static int gr_flow_control_throttle_time_sum (THD *, SHOW_VAR *var, char *buf)
 
static int gr_flow_control_throttle_active_count (THD *, SHOW_VAR *var, char *buf)
 
static int gr_flow_control_throttle_last_throttle_timestamp (THD *, SHOW_VAR *var, char *buf)
 
int register_status_variables ()
 
int unregister_status_variables ()
 
mysql_service_status_t group_replication_flow_control_stats_init ()
 Initialization entry method for Component used when loading the Component. More...
 
mysql_service_status_t group_replication_flow_control_stats_deinit ()
 De-initialization method for Component used when unloading the Component. More...
 
 END_COMPONENT_PROVIDES ()
 
 REQUIRES_SERVICE_AS (status_variable_registration, statvar_register_srv)
 
 REQUIRES_SERVICE_AS (group_replication_flow_control_metrics_service, gr_flow_control_service)
 
 REQUIRES_SERVICE (mysql_runtime_error)
 
 END_COMPONENT_REQUIRES ()
 
 METADATA ("mysql.author", "Oracle Corporation")
 
 METADATA ("mysql.license", "GPL")
 
 END_COMPONENT_METADATA ()
 
DECLARE_LIBRARY_COMPONENTSCOMPONENT_REF (group_replication_flow_control_stats_component)
 

Variables

static SHOW_VAR status_func_var []
 
mysql_component_t mysql_component_group_replication_flow_control_stats_component
 

Function Documentation

◆ COMPONENT_REF()

DECLARE_LIBRARY_COMPONENTS & COMPONENT_REF ( group_replication_flow_control_stats_component  )

◆ END_COMPONENT_METADATA()

END_COMPONENT_METADATA ( )

◆ END_COMPONENT_PROVIDES()

END_COMPONENT_PROVIDES ( )

◆ END_COMPONENT_REQUIRES()

END_COMPONENT_REQUIRES ( )

◆ gr_flow_control_throttle_active_count()

static int gr_flow_control_throttle_active_count ( THD ,
SHOW_VAR var,
char *  buf 
)
static

◆ gr_flow_control_throttle_count()

static int gr_flow_control_throttle_count ( THD ,
SHOW_VAR var,
char *  buf 
)
static

◆ gr_flow_control_throttle_last_throttle_timestamp()

static int gr_flow_control_throttle_last_throttle_timestamp ( THD ,
SHOW_VAR var,
char *  buf 
)
static

◆ gr_flow_control_throttle_time_sum()

static int gr_flow_control_throttle_time_sum ( THD ,
SHOW_VAR var,
char *  buf 
)
static

◆ group_replication_flow_control_stats_deinit()

mysql_service_status_t group_replication_flow_control_stats_deinit ( )

De-initialization method for Component used when unloading the Component.

Returns
Status of performed operation
Return values
0success
non-zerofailure

◆ group_replication_flow_control_stats_init()

mysql_service_status_t group_replication_flow_control_stats_init ( )

Initialization entry method for Component used when loading the Component.

Returns
Status of performed operation
Return values
0success
non-zerofailure

◆ METADATA() [1/2]

METADATA ( "mysql.author"  ,
"Oracle Corporation"   
)

◆ METADATA() [2/2]

METADATA ( "mysql.license"  ,
"GPL"   
)

◆ register_status_variables()

int register_status_variables ( )

◆ REQUIRES_SERVICE()

REQUIRES_SERVICE ( mysql_runtime_error  )

◆ REQUIRES_SERVICE_AS() [1/2]

REQUIRES_SERVICE_AS ( group_replication_flow_control_metrics_service  ,
gr_flow_control_service   
)

◆ REQUIRES_SERVICE_AS() [2/2]

REQUIRES_SERVICE_AS ( status_variable_registration  ,
statvar_register_srv   
)

◆ REQUIRES_SERVICE_PLACEHOLDER()

REQUIRES_SERVICE_PLACEHOLDER ( mysql_runtime_error  )

◆ REQUIRES_SERVICE_PLACEHOLDER_AS() [1/2]

REQUIRES_SERVICE_PLACEHOLDER_AS ( group_replication_flow_control_metrics_service  ,
gr_flow_control_service   
)

◆ REQUIRES_SERVICE_PLACEHOLDER_AS() [2/2]

REQUIRES_SERVICE_PLACEHOLDER_AS ( status_variable_registration  ,
statvar_register_srv   
)

◆ unregister_status_variables()

int unregister_status_variables ( )

Variable Documentation

◆ mysql_component_group_replication_flow_control_stats_component

mysql_component_t mysql_component_group_replication_flow_control_stats_component
Initial value:
= { "mysql:group_replication_flow_control_stats" , __group_replication_flow_control_stats_component_provides, __group_replication_flow_control_stats_component_requires, __group_replication_flow_control_stats_component_metadata,
mysql_service_status_t group_replication_flow_control_stats_init()
Initialization entry method for Component used when loading the Component.
Definition: group_replication_flow_control_stats.cc:114
mysql_service_status_t group_replication_flow_control_stats_deinit()
De-initialization method for Component used when unloading the Component.
Definition: group_replication_flow_control_stats.cc:125

◆ status_func_var

SHOW_VAR status_func_var[]
static
Initial value:
= {
{"Gr_flow_control_throttle_count",
reinterpret_cast<char *>(gr_flow_control_throttle_count), SHOW_FUNC,
{"Gr_flow_control_throttle_time_sum",
reinterpret_cast<char *>(gr_flow_control_throttle_time_sum), SHOW_FUNC,
{"Gr_flow_control_throttle_active_count",
{"Gr_flow_control_throttle_last_throttle_timestamp",
{nullptr, nullptr, SHOW_UNDEF,
}
static int gr_flow_control_throttle_active_count(THD *, SHOW_VAR *var, char *buf)
Definition: group_replication_flow_control_stats.cc:60
static int gr_flow_control_throttle_time_sum(THD *, SHOW_VAR *var, char *buf)
Definition: group_replication_flow_control_stats.cc:50
static int gr_flow_control_throttle_count(THD *, SHOW_VAR *var, char *buf)
Definition: group_replication_flow_control_stats.cc:39
static int gr_flow_control_throttle_last_throttle_timestamp(THD *, SHOW_VAR *var, char *buf)
Definition: group_replication_flow_control_stats.cc:71
@ SHOW_FUNC
Definition: status_variables_bits.h:41
@ SHOW_UNDEF
Definition: status_variables_bits.h:33
@ SHOW_SCOPE_GLOBAL
Definition: status_variables_bits.h:72
@ SHOW_SCOPE_UNDEF
Definition: status_variables_bits.h:71