MySQL 8.0.37
Source Code Documentation
Donor_recovery_endpoints Class Reference

Validate donor recovery endpoints. More...

#include <recovery_endpoints.h>

Inheritance diagram for Donor_recovery_endpoints:
[legend]

Public Member Functions

 Donor_recovery_endpoints ()
 Donor_recovery_endpoints constructor. More...
 
 ~Donor_recovery_endpoints () override
 Donor_recovery_endpoints destructor. More...
 
std::vector< std::pair< std::string, uint > > get_endpoints (Group_member_info *donor)
 Get recovery endpoints. 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...
 

Detailed Description

Validate donor recovery endpoints.

Constructor & Destructor Documentation

◆ Donor_recovery_endpoints()

Donor_recovery_endpoints::Donor_recovery_endpoints ( )
default

Donor_recovery_endpoints constructor.

◆ ~Donor_recovery_endpoints()

Donor_recovery_endpoints::~Donor_recovery_endpoints ( )
overridedefault

Donor_recovery_endpoints destructor.

Member Function Documentation

◆ get_endpoints()

std::vector< std::pair< std::string, uint > > Donor_recovery_endpoints::get_endpoints ( Group_member_info donor)

Get recovery endpoints.

Parameters
donorgroup member info from donor
Returns
endpoints

The documentation for this class was generated from the following files: