MySQL 8.0.39
Source Code Documentation
metadata_cache::AcceptorUpdateHandlerInterface Class Referenceabstract

Abstract class that provides interface for listener on whether the listening sockets acceptors state should be updated. More...

#include <metadata_cache.h>

Inheritance diagram for metadata_cache::AcceptorUpdateHandlerInterface:
[legend]

Public Member Functions

virtual bool update_socket_acceptor_state (const metadata_cache::cluster_nodes_list_t &instances)=0
 Callback function that is called when the state of the sockets acceptors is handled during the metadata refresh. More...
 
 AcceptorUpdateHandlerInterface ()=default
 
 AcceptorUpdateHandlerInterface (const AcceptorUpdateHandlerInterface &)=default
 
AcceptorUpdateHandlerInterfaceoperator= (const AcceptorUpdateHandlerInterface &)=default
 
 AcceptorUpdateHandlerInterface (AcceptorUpdateHandlerInterface &&)=default
 
AcceptorUpdateHandlerInterfaceoperator= (AcceptorUpdateHandlerInterface &&)=default
 
virtual ~AcceptorUpdateHandlerInterface ()=default
 

Detailed Description

Abstract class that provides interface for listener on whether the listening sockets acceptors state should be updated.

Constructor & Destructor Documentation

◆ AcceptorUpdateHandlerInterface() [1/3]

metadata_cache::AcceptorUpdateHandlerInterface::AcceptorUpdateHandlerInterface ( )
default

◆ AcceptorUpdateHandlerInterface() [2/3]

metadata_cache::AcceptorUpdateHandlerInterface::AcceptorUpdateHandlerInterface ( const AcceptorUpdateHandlerInterface )
default

◆ AcceptorUpdateHandlerInterface() [3/3]

metadata_cache::AcceptorUpdateHandlerInterface::AcceptorUpdateHandlerInterface ( AcceptorUpdateHandlerInterface &&  )
default

◆ ~AcceptorUpdateHandlerInterface()

virtual metadata_cache::AcceptorUpdateHandlerInterface::~AcceptorUpdateHandlerInterface ( )
virtualdefault

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ update_socket_acceptor_state()

virtual bool metadata_cache::AcceptorUpdateHandlerInterface::update_socket_acceptor_state ( const metadata_cache::cluster_nodes_list_t instances)
pure virtual

Callback function that is called when the state of the sockets acceptors is handled during the metadata refresh.

Parameters
instanceslist of the current cluster nodes

Implemented in DestMetadataCacheGroup.


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