![]() |
MySQL 9.2.0
Source Code Documentation
|
Classes | |
class | Connection_control_alloc |
class | Connection_control_pfs_table_data_row |
class | Connection_control_statistics |
Structure to maintain statistics. More... | |
class | Connection_control_tb_handle |
class | Connection_control_variables |
Structure to maintain system variables. More... | |
class | Connection_delay_action |
Connection event action to enforce max failed login constraint. More... | |
class | Connection_event_coordinator |
Connection event coordinator. More... | |
class | Connection_event_observer |
Interface for defining action on connection events. More... | |
class | Connection_event_subscriber |
class | CustomAllocator |
class | Failed_attempts_list_imp |
class | RD_lock |
Helper class : Wrapper on READ lock. More... | |
class | Security_context_wrapper |
class | WR_lock |
Helper class : Wrapper on write lock. More... | |
Typedefs | |
typedef std::string | Sql_string |
typedef enum connection_control::status_var_action | status_var_action |
typedef Connection_control_pfs_table_data::const_iterator | Connection_control_pfs_table_pos |
typedef std::vector< Connection_control_pfs_table_data_row, CustomAllocator< Connection_control_pfs_table_data_row > > | Connection_control_pfs_table_data |
typedef weak_service_reference< const mysql_service_mysql_option_tracker_option_t, c_name, opt_name > | weak_option |
Enumerations | |
enum | status_var_action { ACTION_NONE = 0 , ACTION_INC , ACTION_RESET , ACTION_LAST } |
Functions | |
template<class T > | |
T | Connection_control_malloc (size_t size) |
static unsigned long long | get_row_count () |
static int | rnd_init (PSI_table_handle *handle, bool) |
static int | rnd_next (PSI_table_handle *handle) |
static int | rnd_pos (PSI_table_handle *handle) |
static int | read_column_value (PSI_table_handle *handle, PSI_field *field, unsigned int index) |
static void | reset_position (PSI_table_handle *handle) |
static PSI_table_handle * | open_table (PSI_pos **) |
static void | close_table (PSI_table_handle *handle) |
bool | register_pfs_table () |
bool | unregister_pfs_table () |
void | init_connection_delay_event (Connection_event_coordinator *coordinator) |
Initializes required objects for handling connection events. More... | |
void | deinit_connection_delay_event () |
Deinitializes objects and frees associated memory. More... | |
const std::string | c_name ("component_connection_control") |
const std::string | opt_name ("mysql_option_tracker_option") |
const std::string | c_option_name ("Connection control component") |
bool | connection_control_component_option_usage_init () |
bool | connection_control_component_option_usage_deinit () |
bool | connection_control_component_option_usage_set (unsigned long every_nth) |
Variables | |
static PFS_engine_table_share_proxy * | share_list [1] = {nullptr} |
static PFS_engine_table_share_proxy | share |
const int64 | MIN_THRESHOLD = 0 |
constants/variables declared in connection_delay_interfaces.h More... | |
const int64 | DISABLE_THRESHOLD = 0 |
const int64 | MAX_THRESHOLD = INT_MAX32 |
const int64 | MIN_DELAY = 1000 |
const int64 | MAX_DELAY = INT_MAX32 |
static mysql_rwlock_t | connection_event_delay_lock |
variables used by connection_delay.cc More... | |
static opt_connection_control | opt_enums [] |
static const size_t | opt_enums_size = 3 |
static stats_connection_control | status_vars_enums [] |
static const size_t | status_vars_enums_size = 1 |
static Connection_delay_action * | g_max_failed_connection_handler = nullptr |
static Option_usage_data * | option_usage {nullptr} |
typedef std::vector<Connection_control_pfs_table_data_row, CustomAllocator<Connection_control_pfs_table_data_row> > connection_control::Connection_control_pfs_table_data |
typedef Connection_control_pfs_table_data::const_iterator connection_control::Connection_control_pfs_table_pos |
typedef std::string connection_control::Sql_string |
typedef weak_service_reference<const mysql_service_mysql_option_tracker_option_t, c_name, opt_name> connection_control::weak_option |
const std::string connection_control::c_name | ( | "component_connection_control" | ) |
const std::string connection_control::c_option_name | ( | "Connection control component" | ) |
|
static |
bool connection_control::connection_control_component_option_usage_deinit | ( | ) |
bool connection_control::connection_control_component_option_usage_init | ( | ) |
bool connection_control::connection_control_component_option_usage_set | ( | unsigned long | every_nth | ) |
T connection_control::Connection_control_malloc | ( | size_t | size | ) |
void connection_control::deinit_connection_delay_event | ( | ) |
Deinitializes objects and frees associated memory.
|
static |
void connection_control::init_connection_delay_event | ( | Connection_event_coordinator * | coordinator | ) |
Initializes required objects for handling connection events.
[in] | coordinator | Connection_event_coordinator handle. |
|
static |
const std::string connection_control::opt_name | ( | "mysql_option_tracker_option" | ) |
|
static |
bool connection_control::register_pfs_table | ( | ) |
|
static |
|
static |
|
static |
|
static |
bool connection_control::unregister_pfs_table | ( | ) |
|
static |
variables used by connection_delay.cc
const int64 connection_control::DISABLE_THRESHOLD = 0 |
|
static |
const int64 connection_control::MIN_DELAY = 1000 |
const int64 connection_control::MIN_THRESHOLD = 0 |
constants/variables declared in connection_delay_interfaces.h
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |