MySQL 8.3.0
Source Code Documentation
Event_reference_caching_channels Class Referencefinal

#include <reference_caching_setup.h>

Classes

class  Event_mapping
 

Public Member Functions

 ~Event_reference_caching_channels ()
 
bool map (const std::string &event, std::pair< size_t, size_t > &index)
 
bool map (const std::string &event, size_t &index)
 
bool service_notification (const char *name, bool load)
 
const mysql_service_reference_caching_cache_tget_reference_caching_cache_handle ()
 
bool valid () const
 
bool create_cache (Cache_vector &cache_vector)
 
bool service_exists (Event_tracking_class event_tracking_class)
 

Static Public Member Functions

static Event_reference_caching_channelscreate ()
 

Private Member Functions

 Event_reference_caching_channels ()=default
 
bool init ()
 
void deinit ()
 

Private Attributes

bool valid_ {false}
 Validity. More...
 
mysql_service_reference_caching_channel_treference_caching_channel_service_ {nullptr}
 Handle to. More...
 
mysql_service_reference_caching_cache_treference_caching_cache_service_ {nullptr}
 Handle to. More...
 
mysql_service_reference_caching_channel_ignore_list_treference_caching_channel_ignore_list_ {nullptr}
 Handle to. More...
 
Event_mapping event_mapping_
 Event map. More...
 
Channel_vector channels_
 Reference caching channels. More...
 
std::atomic_int service_counters_ [static_cast< size_t >(Event_tracking_class::LAST)]
 Service counters. More...
 

Constructor & Destructor Documentation

◆ ~Event_reference_caching_channels()

Event_reference_caching_channels::~Event_reference_caching_channels ( )

◆ Event_reference_caching_channels()

Event_reference_caching_channels::Event_reference_caching_channels ( )
privatedefault

Member Function Documentation

◆ create()

Event_reference_caching_channels * Event_reference_caching_channels::create ( )
static

◆ create_cache()

bool Event_reference_caching_channels::create_cache ( Cache_vector cache_vector)

◆ deinit()

void Event_reference_caching_channels::deinit ( )
private

◆ get_reference_caching_cache_handle()

const mysql_service_reference_caching_cache_t * Event_reference_caching_channels::get_reference_caching_cache_handle ( )
inline

◆ init()

bool Event_reference_caching_channels::init ( )
private

◆ map() [1/2]

bool Event_reference_caching_channels::map ( const std::string &  event,
size_t &  index 
)
inline

◆ map() [2/2]

bool Event_reference_caching_channels::map ( const std::string &  event,
std::pair< size_t, size_t > &  index 
)
inline

◆ service_exists()

bool Event_reference_caching_channels::service_exists ( Event_tracking_class  event_tracking_class)
inline

◆ service_notification()

bool Event_reference_caching_channels::service_notification ( const char *  name,
bool  load 
)

◆ valid()

bool Event_reference_caching_channels::valid ( ) const
inline

Member Data Documentation

◆ channels_

Channel_vector Event_reference_caching_channels::channels_
private

Reference caching channels.

◆ event_mapping_

Event_mapping Event_reference_caching_channels::event_mapping_
private

Event map.

◆ reference_caching_cache_service_

mysql_service_reference_caching_cache_t* Event_reference_caching_channels::reference_caching_cache_service_ {nullptr}
private

Handle to.

See also
reference_caching_cache service

◆ reference_caching_channel_ignore_list_

mysql_service_reference_caching_channel_ignore_list_t* Event_reference_caching_channels::reference_caching_channel_ignore_list_ {nullptr}
private

Handle to.

See also
reference_caching_channel_ignore_list

◆ reference_caching_channel_service_

mysql_service_reference_caching_channel_t* Event_reference_caching_channels::reference_caching_channel_service_ {nullptr}
private

Handle to.

See also
reference_caching_channel service

◆ service_counters_

std::atomic_int Event_reference_caching_channels::service_counters_[static_cast< size_t >(Event_tracking_class::LAST)]
private

Service counters.

◆ valid_

bool Event_reference_caching_channels::valid_ {false}
private

Validity.


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