MySQL 9.1.0
Source Code Documentation
reference_caching::cache_imp Class Reference

#include <cache.h>

Inheritance diagram for reference_caching::cache_imp:
[legend]

Public Member Functions

bool get (unsigned service_name_index, const my_h_service **ref)
 
bool flush ()
 
 ~cache_imp ()
 

Static Public Member Functions

static cache_impcreate (channel_imp *channel, const mysql_service_registry_t *registry)
 
static bool destroy (cache_imp *cache)
 
- 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)
 

Protected Member Functions

 cache_imp (channel_imp *channel, const mysql_service_registry_t *registry)
 

Private Member Functions

 cache_imp (const cache_imp &)
 
cache_impoperator= (const cache_imp &)
 

Private Attributes

channel_impm_channel
 
my_h_service ** m_cache
 
const mysql_service_registry_tm_registry
 
service_names_set m_service_names
 
service_names_set< std::string, std::less< std::string > > m_ignore_list
 
unsigned int m_cache_version
 
bool m_populated
 

Constructor & Destructor Documentation

◆ ~cache_imp()

reference_caching::cache_imp::~cache_imp ( )

◆ cache_imp() [1/2]

reference_caching::cache_imp::cache_imp ( channel_imp channel,
const mysql_service_registry_t registry 
)
explicitprotected

◆ cache_imp() [2/2]

reference_caching::cache_imp::cache_imp ( const cache_imp )
private

Member Function Documentation

◆ create()

cache_imp * reference_caching::cache_imp::create ( channel_imp channel,
const mysql_service_registry_t registry 
)
static

◆ destroy()

bool reference_caching::cache_imp::destroy ( cache_imp cache)
static

◆ flush()

bool reference_caching::cache_imp::flush ( )

◆ get()

bool reference_caching::cache_imp::get ( unsigned  service_name_index,
const my_h_service **  ref 
)

◆ operator=()

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

Member Data Documentation

◆ m_cache

my_h_service** reference_caching::cache_imp::m_cache
private

◆ m_cache_version

unsigned int reference_caching::cache_imp::m_cache_version
private

◆ m_channel

channel_imp* reference_caching::cache_imp::m_channel
private

◆ m_ignore_list

service_names_set<std::string, std::less<std::string> > reference_caching::cache_imp::m_ignore_list
private

◆ m_populated

bool reference_caching::cache_imp::m_populated
private

◆ m_registry

const mysql_service_registry_t* reference_caching::cache_imp::m_registry
private

◆ m_service_names

service_names_set reference_caching::cache_imp::m_service_names
private

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