MySQL 8.0.39
Source Code Documentation
component.cc File Reference

Namespaces

namespace  reference_caching
 
namespace  reference_caching::channel
 
namespace  reference_caching::cache
 
namespace  reference_caching::channel_ignore_list
 

Functions

static mysql_service_status_t reference_caching::channel::create (const char *service_names[], reference_caching_channel *out_channel) noexcept
 
static mysql_service_status_t reference_caching::channel::destroy (reference_caching_channel channel) noexcept
 
static mysql_service_status_t reference_caching::channel::invalidate (reference_caching_channel channel) noexcept
 
static mysql_service_status_t reference_caching::channel::validate (reference_caching_channel channel) noexcept
 
static mysql_service_status_t reference_caching::channel::fetch (const char *service_name, reference_caching_channel *out_channel) noexcept
 
static mysql_service_status_t reference_caching::cache::create (reference_caching_channel channel, const mysql_service_registry_t *registry, reference_caching_cache *out_cache) noexcept
 
static mysql_service_status_t reference_caching::cache::destroy (reference_caching_cache cache) noexcept
 
static mysql_service_status_t reference_caching::cache::get (reference_caching_cache cache, unsigned service_name_index, const my_h_service **refs) noexcept
 
static mysql_service_status_t reference_caching::cache::flush (reference_caching_cache cache) noexcept
 
static mysql_service_status_t reference_caching::channel_ignore_list::add (reference_caching_channel channel, const char *implementation_name) noexcept
 
static mysql_service_status_t reference_caching::channel_ignore_list::remove (reference_caching_channel channel, const char *implementation_name) noexcept
 
static mysql_service_status_t reference_caching::channel_ignore_list::clear (reference_caching_channel channel) noexcept
 
static void reference_caching::register_instruments ()
 
static mysql_service_status_t reference_caching::init ()
 
static mysql_service_status_t reference_caching::deinit ()
 
 PROVIDES_SERVICE (reference_caching, reference_caching_channel)
 
 PROVIDES_SERVICE (reference_caching, reference_caching_cache)
 
 PROVIDES_SERVICE (reference_caching, reference_caching_channel_ignore_list)
 
 END_COMPONENT_PROVIDES ()
 
 END_COMPONENT_REQUIRES ()
 
 METADATA ("mysql.author", "Oracle Corporation")
 
 METADATA ("mysql.license", "GPL")
 
 END_COMPONENT_METADATA ()
 

Variables

PSI_memory_key reference_caching::KEY_mem_reference_cache
 
const mysql_service_reference_caching_channel_t imp_reference_caching_reference_caching_channel
 
const mysql_service_reference_caching_cache_t imp_reference_caching_reference_caching_cache
 
const mysql_service_reference_caching_channel_ignore_list_t imp_reference_caching_reference_caching_channel_ignore_list
 
 REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER
 
 REQUIRES_PSI_MUTEX_SERVICE_PLACEHOLDER
 
 REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER
 
 REQUIRES_MYSQL_MUTEX_SERVICE
 
 REQUIRES_PSI_MUTEX_SERVICE
 
 REQUIRES_PSI_MEMORY_SERVICE
 
mysql_component_t mysql_component_reference_caching
 

Function Documentation

◆ END_COMPONENT_METADATA()

END_COMPONENT_METADATA ( )

◆ END_COMPONENT_PROVIDES()

END_COMPONENT_PROVIDES ( )

◆ END_COMPONENT_REQUIRES()

END_COMPONENT_REQUIRES ( )

◆ METADATA() [1/2]

METADATA ( "mysql.author"  ,
"Oracle Corporation"   
)

◆ METADATA() [2/2]

METADATA ( "mysql.license"  ,
"GPL"   
)

◆ PROVIDES_SERVICE() [1/3]

PROVIDES_SERVICE ( reference_caching  ,
reference_caching_cache   
)

◆ PROVIDES_SERVICE() [2/3]

PROVIDES_SERVICE ( reference_caching  ,
reference_caching_channel   
)

◆ PROVIDES_SERVICE() [3/3]

PROVIDES_SERVICE ( reference_caching  ,
reference_caching_channel_ignore_list   
)

Variable Documentation

◆ imp_reference_caching_reference_caching_cache

const mysql_service_reference_caching_cache_t imp_reference_caching_reference_caching_cache
Initial value:
= {
static mysql_service_status_t destroy(reference_caching_cache cache) noexcept
Definition: component.cc:104
static mysql_service_status_t get(reference_caching_cache cache, unsigned service_name_index, const my_h_service **refs) noexcept
Definition: component.cc:114
static mysql_service_status_t flush(reference_caching_cache cache) noexcept
Definition: component.cc:122
static mysql_service_status_t create(reference_caching_channel channel, const mysql_service_registry_t *registry, reference_caching_cache *out_cache) noexcept
Definition: component.cc:93

◆ imp_reference_caching_reference_caching_channel

const mysql_service_reference_caching_channel_t imp_reference_caching_reference_caching_channel
Initial value:
= {
static mysql_service_status_t invalidate(reference_caching_channel channel) noexcept
Definition: component.cc:58
static mysql_service_status_t create(const char *service_names[], reference_caching_channel *out_channel) noexcept
Definition: component.cc:36
static mysql_service_status_t validate(reference_caching_channel channel) noexcept
Definition: component.cc:67
static mysql_service_status_t destroy(reference_caching_channel channel) noexcept
Definition: component.cc:50
static mysql_service_status_t fetch(const char *service_name, reference_caching_channel *out_channel) noexcept
Definition: component.cc:77

◆ imp_reference_caching_reference_caching_channel_ignore_list

const mysql_service_reference_caching_channel_ignore_list_t imp_reference_caching_reference_caching_channel_ignore_list
Initial value:
= {
static mysql_service_status_t remove(reference_caching_channel channel, const char *implementation_name) noexcept
Definition: component.cc:145
static mysql_service_status_t clear(reference_caching_channel channel) noexcept
Definition: component.cc:154
static mysql_service_status_t add(reference_caching_channel channel, const char *implementation_name) noexcept
Definition: component.cc:135

◆ mysql_component_reference_caching

mysql_component_t mysql_component_reference_caching
Initial value:
= { "mysql:reference_caching" , __reference_caching_provides, __reference_caching_requires, __reference_caching_metadata,
static mysql_service_status_t init()
Definition: component.cc:182
static mysql_service_status_t deinit()
Definition: component.cc:191

◆ REQUIRES_MYSQL_MUTEX_SERVICE

REQUIRES_MYSQL_MUTEX_SERVICE

◆ REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER

REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER

◆ REQUIRES_PSI_MEMORY_SERVICE

REQUIRES_PSI_MEMORY_SERVICE

◆ REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER

REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER

◆ REQUIRES_PSI_MUTEX_SERVICE

REQUIRES_PSI_MUTEX_SERVICE

◆ REQUIRES_PSI_MUTEX_SERVICE_PLACEHOLDER

REQUIRES_PSI_MUTEX_SERVICE_PLACEHOLDER