This class will be used to execute SQL Queries.
More...
#include <resource_manager_channel_lag.h>
This class will be used to execute SQL Queries.
For each SQL Query run a new function needs to be implemented.
◆ fetch_channel_lag()
| int gr_resource_manager::GR_resource_manager::fetch_channel_lag |
( |
std::vector< lag_record > & |
record | ) |
|
|
static |
Execute a SQL Query and fetch the lag for group replication applier channel and recovery channel.
- Parameters
-
| [out] | record | Group replication channels lag |
- Return values
-
| 0 | Query execution success |
| 1 | Query execution failed |
◆ is_debug_variable_present()
| bool gr_resource_manager::GR_resource_manager::is_debug_variable_present |
( |
const std::string & |
variable | ) |
|
|
static |
Check if the passed string is present in GLOBAL.DEBUG or not.
- Parameters
-
| [in] | variable | debug string to check in GLOBAL.DEBUG |
- Return values
-
| true | string is present in GLOBAL.DEBUG |
| false | string is not present in GLOBAL.DEBUG |
The documentation for this class was generated from the following files: