MySQL 9.1.0
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
 
namespace  reference_caching::service_notification
 

Functions

 REQUIRES_SERVICE_PLACEHOLDER_AS (registry_registration, current_registry_registration)
 
 REQUIRES_SERVICE_PLACEHOLDER_AS (registry_query, current_registry_query)
 
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::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 mysql_service_status_t reference_caching::service_notification::notify_before_unload (const char **services, unsigned int count) noexcept
 
static mysql_service_status_t reference_caching::service_notification::notify_after_load (const char **services, unsigned int count) 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)
 
 PROVIDES_SERVICE (reference_caching, dynamic_loader_services_loaded_notification)
 
 PROVIDES_SERVICE (reference_caching, dynamic_loader_services_unload_notification)
 
 END_COMPONENT_PROVIDES ()
 
 REQUIRES_SERVICE_AS (registry_registration, current_registry_registration)
 
 REQUIRES_SERVICE_AS (registry_query, current_registry_query)
 
 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
 
const mysql_service_dynamic_loader_services_loaded_notification_t imp_reference_caching_dynamic_loader_services_loaded_notification
 
const mysql_service_dynamic_loader_services_unload_notification_t imp_reference_caching_dynamic_loader_services_unload_notification
 
 REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER
 
 REQUIRES_PSI_RWLOCK_SERVICE_PLACEHOLDER
 
 REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER
 
 REQUIRES_MYSQL_RWLOCK_SERVICE
 
 REQUIRES_PSI_RWLOCK_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/5]

PROVIDES_SERVICE ( reference_caching  ,
dynamic_loader_services_loaded_notification   
)

◆ PROVIDES_SERVICE() [2/5]

PROVIDES_SERVICE ( reference_caching  ,
dynamic_loader_services_unload_notification   
)

◆ PROVIDES_SERVICE() [3/5]

PROVIDES_SERVICE ( reference_caching  ,
reference_caching_cache   
)

◆ PROVIDES_SERVICE() [4/5]

PROVIDES_SERVICE ( reference_caching  ,
reference_caching_channel   
)

◆ PROVIDES_SERVICE() [5/5]

PROVIDES_SERVICE ( reference_caching  ,
reference_caching_channel_ignore_list   
)

◆ REQUIRES_SERVICE_AS() [1/2]

REQUIRES_SERVICE_AS ( registry_query  ,
current_registry_query   
)

◆ REQUIRES_SERVICE_AS() [2/2]

REQUIRES_SERVICE_AS ( registry_registration  ,
current_registry_registration   
)

◆ REQUIRES_SERVICE_PLACEHOLDER_AS() [1/2]

REQUIRES_SERVICE_PLACEHOLDER_AS ( registry_query  ,
current_registry_query   
)

◆ REQUIRES_SERVICE_PLACEHOLDER_AS() [2/2]

REQUIRES_SERVICE_PLACEHOLDER_AS ( registry_registration  ,
current_registry_registration   
)

Variable Documentation

◆ imp_reference_caching_dynamic_loader_services_loaded_notification

const mysql_service_dynamic_loader_services_loaded_notification_t imp_reference_caching_dynamic_loader_services_loaded_notification
Initial value:
= {
}
static mysql_service_status_t notify_after_load(const char **services, unsigned int count) noexcept
Definition: component.cc:168

◆ imp_reference_caching_dynamic_loader_services_unload_notification

const mysql_service_dynamic_loader_services_unload_notification_t imp_reference_caching_dynamic_loader_services_unload_notification
Initial value:
= {
}
static mysql_service_status_t notify_before_unload(const char **services, unsigned int count) noexcept
Definition: component.cc:159

◆ 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:96
static mysql_service_status_t get(reference_caching_cache cache, unsigned service_name_index, const my_h_service **refs) noexcept
Definition: component.cc:106
static mysql_service_status_t flush(reference_caching_cache cache) noexcept
Definition: component.cc:114
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:84

◆ 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:69
static mysql_service_status_t create(const char *service_names[], reference_caching_channel *out_channel) noexcept
Definition: component.cc:45
static mysql_service_status_t destroy(reference_caching_channel channel) noexcept
Definition: component.cc:61

◆ 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:137
static mysql_service_status_t clear(reference_caching_channel channel) noexcept
Definition: component.cc:146
static mysql_service_status_t add(reference_caching_channel channel, const char *implementation_name) noexcept
Definition: component.cc:127

◆ 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:196
static mysql_service_status_t deinit()
Definition: component.cc:213

◆ REQUIRES_MYSQL_RWLOCK_SERVICE

REQUIRES_MYSQL_RWLOCK_SERVICE

◆ REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER

REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER

◆ REQUIRES_PSI_MEMORY_SERVICE

REQUIRES_PSI_MEMORY_SERVICE

◆ REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER

REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER

◆ REQUIRES_PSI_RWLOCK_SERVICE

REQUIRES_PSI_RWLOCK_SERVICE

◆ REQUIRES_PSI_RWLOCK_SERVICE_PLACEHOLDER

REQUIRES_PSI_RWLOCK_SERVICE_PLACEHOLDER