MySQL 8.4.2
Source Code Documentation
|
Service for managing the list of loaded Components. More...
#include <dynamic_loader.h>
Public Attributes | |
mysql_service_status_t(* | load )(const char *urns[], int component_count) |
Loads specified group of components by URN, initializes them and registers all Service Implementations present in these components. More... | |
mysql_service_status_t(* | unload )(const char *urns[], int component_count) |
Unloads specified group of components by URN, deinitializes them and unregisters all Service Implementations present in these components. More... | |
Service for managing the list of loaded Components.
mysql_service_status_t(* s_mysql_dynamic_loader::load) (const char *urns[], int component_count) |
Loads specified group of components by URN, initializes them and registers all Service Implementations present in these components.
Assures all dependencies will be met after loading specified components. The dependencies may be circular, in such case it's necessary to specify all components on cycle to load in one batch. From URNs specified the scheme part of URN (part before "://") is extracted and used to acquire Service Implementation of scheme component loader Service for specified scheme.
urns | List of URNs of components to load. |
component_count | Number of components on list to load. |
false | success |
true | failure |
mysql_service_status_t(* s_mysql_dynamic_loader::unload) (const char *urns[], int component_count) |
Unloads specified group of components by URN, deinitializes them and unregisters all Service Implementations present in these components.
Assumes, thous does not check it, all dependencies of not unloaded components will still be met after unloading specified components. The dependencies may be circular, in such case it's necessary to specify all components on cycle to unload in one batch. From URNs specified the scheme part of URN (part before "://") is extracted and used to acquire Service Implementation of scheme component loader Service for specified scheme.
urns | List of URNs of components to unload. |
component_count | Number of components on list to unload. |
false | success |
true | failure |