MySQL 8.0.40
Source Code Documentation
reference_caching::channel_imp Class Reference

#include <channel.h>

Inheritance diagram for reference_caching::channel_imp:
[legend]

Public Member Functions

bool is_valid ()
 
void set_valid (bool new_value)
 
service_names_setget_service_names ()
 
void ignore_list_copy (service_names_set<> &dest_set)
 
bool ignore_list_add (std::string service_implementation)
 
bool ignore_list_remove (std::string service_implementation)
 
bool ignore_list_clear ()
 
bool is_alone ()
 
channel_impref ()
 
int unref ()
 
 channel_imp (service_names_set<> &service_names)
 
 ~channel_imp ()=default
 
bool operator== (channel_imp &other) const
 

Static Public Member Functions

static channel_impcreate (service_names_set<> &service_names)
 
static bool destroy (channel_imp *channel)
 
static bool factory_init ()
 
static bool factory_deinit ()
 
static channel_impchannel_by_name (std::string service_name)
 
- Static Public Member Functions inherited from reference_caching::Cache_malloced
static void * operator new (std::size_t sz)
 
static void operator delete (void *ptr, std::size_t sz)
 

Private Member Functions

 channel_imp (const channel_imp &)
 
channel_impoperator= (const channel_imp &)
 

Private Attributes

service_names_set m_service_names
 
service_names_set m_ignore_list
 
std::atomic< bool > m_has_ignore_list
 
std::atomic< bool > m_valid
 
std::atomic< int > m_reference_count
 

Constructor & Destructor Documentation

◆ channel_imp() [1/2]

reference_caching::channel_imp::channel_imp ( service_names_set<> &  service_names)
inline

◆ ~channel_imp()

reference_caching::channel_imp::~channel_imp ( )
default

◆ channel_imp() [2/2]

reference_caching::channel_imp::channel_imp ( const channel_imp )
private

Member Function Documentation

◆ channel_by_name()

channel_imp * reference_caching::channel_imp::channel_by_name ( std::string  service_name)
static

◆ create()

channel_imp * reference_caching::channel_imp::create ( service_names_set<> &  service_names)
static

◆ destroy()

bool reference_caching::channel_imp::destroy ( channel_imp channel)
static

◆ factory_deinit()

bool reference_caching::channel_imp::factory_deinit ( )
static

◆ factory_init()

bool reference_caching::channel_imp::factory_init ( )
static

◆ get_service_names()

service_names_set & reference_caching::channel_imp::get_service_names ( )
inline

◆ ignore_list_add()

bool reference_caching::channel_imp::ignore_list_add ( std::string  service_implementation)

◆ ignore_list_clear()

bool reference_caching::channel_imp::ignore_list_clear ( )

◆ ignore_list_copy()

void reference_caching::channel_imp::ignore_list_copy ( service_names_set<> &  dest_set)

◆ ignore_list_remove()

bool reference_caching::channel_imp::ignore_list_remove ( std::string  service_implementation)

◆ is_alone()

bool reference_caching::channel_imp::is_alone ( )
inline

◆ is_valid()

bool reference_caching::channel_imp::is_valid ( )
inline

◆ operator=()

channel_imp & reference_caching::channel_imp::operator= ( const channel_imp )
private

◆ operator==()

bool reference_caching::channel_imp::operator== ( channel_imp other) const
inline

◆ ref()

channel_imp * reference_caching::channel_imp::ref ( )
inline

◆ set_valid()

void reference_caching::channel_imp::set_valid ( bool  new_value)
inline

◆ unref()

int reference_caching::channel_imp::unref ( )
inline

Member Data Documentation

◆ m_has_ignore_list

std::atomic<bool> reference_caching::channel_imp::m_has_ignore_list
private

◆ m_ignore_list

service_names_set reference_caching::channel_imp::m_ignore_list
private

◆ m_reference_count

std::atomic<int> reference_caching::channel_imp::m_reference_count
private

◆ m_service_names

service_names_set reference_caching::channel_imp::m_service_names
private

◆ m_valid

std::atomic<bool> reference_caching::channel_imp::m_valid
private

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