MySQL 9.0.0
Source Code Documentation
mysqlrouter::ClusterMetadataGR Class Reference

#include <cluster_metadata.h>

Inheritance diagram for mysqlrouter::ClusterMetadataGR:
[legend]

Public Member Functions

 ClusterMetadataGR (const MetadataSchemaVersion &schema_version, MySQLSession *mysql, mysql_harness::SocketOperationsBase *sockops=mysql_harness::SocketOperations::instance())
 
 ~ClusterMetadataGR () override=default
 
std::string get_cluster_type_specific_id () override
 
void require_cluster_is_ok () override
 Verify that host is a valid cluster member (either Group Replication or ReplicaSet cluster) More...
 
std::vector< std::tuple< std::string, unsigned long > > fetch_cluster_hosts () override
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ClusterMetadataGR()

mysqlrouter::ClusterMetadataGR::ClusterMetadataGR ( const MetadataSchemaVersion schema_version,
MySQLSession mysql,
mysql_harness::SocketOperationsBase sockops = mysql_harness::SocketOperations::instance() 
)
inline

◆ ~ClusterMetadataGR()

mysqlrouter::ClusterMetadataGR::~ClusterMetadataGR ( )
overridedefault

Member Function Documentation

◆ fetch_cluster_hosts()

std::vector< std::tuple< std::string, unsigned long > > mysqlrouter::ClusterMetadataGR::fetch_cluster_hosts ( )
overridevirtual

◆ get_cluster_type_specific_id()

std::string mysqlrouter::ClusterMetadataGR::get_cluster_type_specific_id ( )
overridevirtual

◆ require_cluster_is_ok()

void mysqlrouter::ClusterMetadataGR::require_cluster_is_ok ( )
overridevirtual

Verify that host is a valid cluster member (either Group Replication or ReplicaSet cluster)

Exceptions
MySQLSession::Error
std::runtime_error
std::out_of_range
std::logic_error

Implements mysqlrouter::ClusterMetadata.


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