MySQL 9.1.0
Source Code Documentation
|
The class Rpl_filter_statistics encapsulates the following three statistics of replication filter: The configured_by indicates that how the rpl filter is configured. More...
#include <rpl_filter.h>
Public Member Functions | |
Rpl_filter_statistics () | |
~Rpl_filter_statistics () | |
void | reset () |
void | set_all (enum_configured_by configured_by) |
enum_configured_by | get_configured_by () |
ulonglong | get_active_since () |
ulonglong | get_counter () |
void | increase_counter () |
Private Member Functions | |
Rpl_filter_statistics (Rpl_filter_statistics const &) | |
Rpl_filter_statistics & | operator= (Rpl_filter_statistics const &) |
Private Attributes | |
enum_configured_by | m_configured_by |
ulonglong | m_active_since |
std::atomic< uint64 > | m_atomic_counter {0} |
The class Rpl_filter_statistics encapsulates the following three statistics of replication filter: The configured_by indicates that how the rpl filter is configured.
The active_since indicates when the configuration took place. The counter indicates the hit amount of the filter since last configuration. Instances of this class are created in Rpl_filter for each filter type for each channel and the global filter, and have the same life cycle as the instance of Rpl_filter. The reference of this class is used in Rpl_pfs_filter for displaying the three statistics of replication filter in performance_schema.replication_applier_filters table and performance_schema.replication_applier_global_filters table.
Rpl_filter_statistics::Rpl_filter_statistics | ( | ) |
|
default |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
void Rpl_filter_statistics::reset | ( | void | ) |
void Rpl_filter_statistics::set_all | ( | enum_configured_by | configured_by | ) |
|
private |
|
private |
|
private |