![]() |
MySQL 9.4.0
Source Code Documentation
|
#include <string>#include "plugin/group_replication/include/opt_tracker.h"#include <mysql/components/services/mysql_option_tracker.h>#include <mysql/components/util/weak_service_reference.h>#include "mysql/components/library_mysys/option_tracker_usage.h"#include "plugin/group_replication/include/plugin.h"Typedefs | |
| typedef weak_service_reference< const mysql_service_mysql_option_tracker_option_t, c_name_group_replication, s_name > | srv_weak_option_option |
Functions | |
| static const std::string | s_name ("mysql_option_tracker_option") |
| static const std::string | f_name_group_replication ("Group Replication") |
| static const std::string | c_name_group_replication ("group_replication plugin") |
| static bool | cb (unsigned long long new_value) |
| void | track_group_replication_available () |
| Tracks the Group Replication feature as available, is installed but not running. More... | |
| void | track_group_replication_unavailable () |
| Tracks the Group Replication feature as unavailable, is not installed. More... | |
| void | track_group_replication_enabled (bool enabled) |
| Tracks the Group Replication feature, including the usage data. More... | |
Variables | |
| unsigned long long | opt_option_tracker_usage_group_replication_plugin = 0 |
| A status variable counter for usage tracking by the option_tracker component. More... | |
| static bool | cb_define_failed = false |
| typedef weak_service_reference<const mysql_service_mysql_option_tracker_option_t, c_name_group_replication, s_name> srv_weak_option_option |
|
static |
|
static |
|
static |
|
static |
| void track_group_replication_available | ( | ) |
Tracks the Group Replication feature as available, is installed but not running.
| void track_group_replication_enabled | ( | bool | enabled | ) |
Tracks the Group Replication feature, including the usage data.
It only updates usage data if the feature is enabled.
| enabled | true: tracks as enabled false: tracks as disabled |
| void track_group_replication_unavailable | ( | ) |
Tracks the Group Replication feature as unavailable, is not installed.
|
static |
| unsigned long long opt_option_tracker_usage_group_replication_plugin = 0 |
A status variable counter for usage tracking by the option_tracker component.