MySQL 8.0.40
Source Code Documentation
metadata_cache::MetadataRefreshListenerInterface Class Referenceabstract

Abstract class that provides interface for listener on metadata refresh. More...

#include <metadata_cache.h>

Inheritance diagram for metadata_cache::MetadataRefreshListenerInterface:
[legend]

Public Member Functions

 MetadataRefreshListenerInterface ()=default
 
 MetadataRefreshListenerInterface (const MetadataRefreshListenerInterface &)=default
 
 MetadataRefreshListenerInterface (MetadataRefreshListenerInterface &&)=default
 
MetadataRefreshListenerInterfaceoperator= (const MetadataRefreshListenerInterface &)=default
 
MetadataRefreshListenerInterfaceoperator= (MetadataRefreshListenerInterface &&)=default
 
virtual void on_md_refresh (const bool instances_changed, const ClusterTopology &cluster_topology)=0
 Callback that is going to be used on each metadata refresh. More...
 
virtual ~MetadataRefreshListenerInterface ()=default
 

Detailed Description

Abstract class that provides interface for listener on metadata refresh.

Constructor & Destructor Documentation

◆ MetadataRefreshListenerInterface() [1/3]

metadata_cache::MetadataRefreshListenerInterface::MetadataRefreshListenerInterface ( )
default

◆ MetadataRefreshListenerInterface() [2/3]

metadata_cache::MetadataRefreshListenerInterface::MetadataRefreshListenerInterface ( const MetadataRefreshListenerInterface )
default

◆ MetadataRefreshListenerInterface() [3/3]

metadata_cache::MetadataRefreshListenerInterface::MetadataRefreshListenerInterface ( MetadataRefreshListenerInterface &&  )
default

◆ ~MetadataRefreshListenerInterface()

virtual metadata_cache::MetadataRefreshListenerInterface::~MetadataRefreshListenerInterface ( )
virtualdefault

Member Function Documentation

◆ on_md_refresh()

virtual void metadata_cache::MetadataRefreshListenerInterface::on_md_refresh ( const bool  instances_changed,
const ClusterTopology cluster_topology 
)
pure virtual

Callback that is going to be used on each metadata refresh.

Parameters
[in]instances_changedInforms if the cluster topology has changed since last md refresh.
[in]cluster_topologycurrent cluster topology

Implemented in DestMetadataCacheGroup.

◆ operator=() [1/2]

MetadataRefreshListenerInterface & metadata_cache::MetadataRefreshListenerInterface::operator= ( const MetadataRefreshListenerInterface )
default

◆ operator=() [2/2]

MetadataRefreshListenerInterface & metadata_cache::MetadataRefreshListenerInterface::operator= ( MetadataRefreshListenerInterface &&  )
default

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