MySQL 9.1.0
Source Code Documentation
|
Validate advertised recovery endpoints. More...
#include <recovery_endpoints.h>
Public Types | |
enum class | enum_log_context { ON_BOOT , ON_START , ON_SET } |
This enumeration describes which log context is being used. More... | |
Public Member Functions | |
Advertised_recovery_endpoints () | |
Advertised_recovery_endpoints constructor. More... | |
~Advertised_recovery_endpoints () override | |
Advertised_recovery_endpoints destructor. More... | |
bool | check (const char *endpoints, enum_log_context where) |
Validate recovery endpoints and log errors if it fails. More... | |
Additional Inherited Members | |
Private Types inherited from Recovery_endpoints | |
enum class | enum_status { OK = 0 , INVALID , BADFORMAT , ERROR } |
This enumeration describes error status. More... | |
Private Member Functions inherited from Recovery_endpoints | |
Recovery_endpoints () | |
Recovery_endpoints constructor. More... | |
virtual | ~Recovery_endpoints () |
Recovery_endpoints destructor. More... | |
std::pair< enum_status, std::string > | check (const char *endpoints) |
Validate recovery endpoints and log errors if it fails. More... | |
std::vector< std::pair< std::string, uint > > | get_endpoints () |
Return recovery endpoints. More... | |
void | set_port_settings (uint mysqld_port, uint admin_port) |
Set ports allowed on advertised recovery endpoints. More... | |
Validate advertised recovery endpoints.
|
strong |
|
default |
Advertised_recovery_endpoints constructor.
|
overridedefault |
Advertised_recovery_endpoints destructor.
bool Advertised_recovery_endpoints::check | ( | const char * | endpoints, |
enum_log_context | where | ||
) |
Validate recovery endpoints and log errors if it fails.
endpoints | advertised recovery endpoints |
where | context where being executed |
false | OK |
true | Error |