MySQL 8.4.2
Source Code Documentation
GRMetadataBackendV2 Class Reference
Inheritance diagram for GRMetadataBackendV2:
[legend]

Public Member Functions

 GRMetadataBackendV2 (GRClusterMetadata *metadata, ConnectCallback &connect_clb)
 
metadata_cache::ClusterTopology fetch_instances_from_metadata_server (const mysqlrouter::TargetCluster &target_cluster, const std::string &clusterset_id="") override
 Queries the metadata server for the list of instances that belong to the desired cluster. More...
 
mysqlrouter::ClusterType get_cluster_type () override
 
- Public Member Functions inherited from GRMetadataBackend
 GRMetadataBackend (GRClusterMetadata *metadata, ConnectCallback &connect_clb)
 
virtual ~GRMetadataBackend ()
 
virtual stdx::expected< metadata_cache::ClusterTopology, std::error_code > fetch_cluster_topology (MySQLSession::Transaction &transaction, mysqlrouter::TargetCluster &target_cluster, const metadata_cache::metadata_server_t &metadata_server, const metadata_cache::metadata_servers_list_t &metadata_servers, bool needs_writable_node, const RouterOptions &router_options, const std::string &clusterset_id, bool whole_topology)
 
virtual std::vector< metadata_cache::metadata_servers_list_tget_metadata_servers (const metadata_cache::metadata_servers_list_t &metadata_servers)
 
virtual void reset ()
 

Additional Inherited Members

- Protected Attributes inherited from GRMetadataBackend
GRClusterMetadatametadata_
 
ConnectCallback connect_clb_
 

Constructor & Destructor Documentation

◆ GRMetadataBackendV2()

GRMetadataBackendV2::GRMetadataBackendV2 ( GRClusterMetadata metadata,
ConnectCallback connect_clb 
)
inline

Member Function Documentation

◆ fetch_instances_from_metadata_server()

metadata_cache::ClusterTopology GRMetadataBackendV2::fetch_instances_from_metadata_server ( const mysqlrouter::TargetCluster target_cluster,
const std::string &  clusterset_id = "" 
)
overridevirtual

Queries the metadata server for the list of instances that belong to the desired cluster.

Implements GRMetadataBackend.

◆ get_cluster_type()

mysqlrouter::ClusterType GRMetadataBackendV2::get_cluster_type ( )
inlineoverridevirtual

Implements GRMetadataBackend.

Reimplemented in GRClusterSetMetadataBackend.


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