MySQL 9.1.0
Source Code Documentation
|
This is the implementation of the registry module interface. More...
#include <registry.h>
Public Member Functions | |
Registry_module () | |
~Registry_module () override | |
bool | initialize () override |
Initializes the registry handles. More... | |
bool | finalize () override |
SHALL release the registry handles and frees memory that may have been in use. More... | |
const mysql_service_registry_t * | get_registry_handle () override |
SHALL return the service registry handle if initialized already. More... | |
const mysql_service_registry_query_t * | get_registry_query_handle () override |
SHALL return the service registry query handle if initialized already. More... | |
Public Member Functions inherited from Registry_module_interface | |
virtual | ~Registry_module_interface ()=default |
Private Member Functions | |
Registry_module (const Registry_module &rhs) | |
Registry_module & | operator= (const Registry_module rhs) |
Private Attributes | |
const mysql_service_registry_t * | m_registry |
Cached reference to the service registry. More... | |
const mysql_service_registry_query_t * | m_registry_query |
Cached reference to the registry query service. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Registry_module_interface | |
static const std::string | SVC_NAME_MEMBERSHIP |
The name of the membership service. More... | |
static const std::string | SVC_NAME_STATUS |
The name of the member status service. More... | |
static const std::string | SVC_NAME_REGISTRY_QUERY |
The name of the registry query service. More... | |
This is the implementation of the registry module interface.
This implementation will acquire a reference to the service registry and to the registry query service when initialized. It will only release these references when the module is finalized.
|
private |
|
inline |
|
inlineoverride |
|
overridevirtual |
SHALL release the registry handles and frees memory that may have been in use.
Clean up.
Implements Registry_module_interface.
|
overridevirtual |
SHALL return the service registry handle if initialized already.
Implements Registry_module_interface.
|
overridevirtual |
SHALL return the service registry query handle if initialized already.
Implements Registry_module_interface.
|
overridevirtual |
Initializes the registry handles.
It acquires registry handles and allocates required memory.
Implements Registry_module_interface.
|
private |
|
private |
Cached reference to the service registry.
|
private |
Cached reference to the registry query service.