24#ifndef REFERENCE_CACHE_COMMON_H 
   25#define REFERENCE_CACHE_COMMON_H 
   34#define PSI_category "refcache" 
   47  mutable std::atomic<unsigned int> 
count_{0};
 
   57template <
class Key = Service_name_entry,
 
   58          class Less = Compare_service_name_entry>
 
   60    : 
public std::set<Key, Less, Component_malloc_allocator<Key>> {
 
Component_malloc_allocator is a C++ STL memory allocator based on my_malloc/my_free.
Definition: component_malloc_allocator.h:63
 
Definition: reference_cache_common.h:60
 
service_names_set()
Definition: reference_cache_common.h:62
 
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
 
static int count
Definition: myisam_ftdump.cc:45
 
bool load(THD *, const dd::String_type &fname, dd::String_type *buf)
Read an sdi file from disk and store in a buffer.
Definition: sdi_file.cc:308
 
std::string_view Key
The key type for the hash structure in HashJoinRowBuffer.
Definition: hash_join_buffer.h:102
 
PSI_memory_key KEY_mem_reference_cache
Definition: component.cc:177
 
Definition: gcs_xcom_synode.h:64
 
std::set< Key, Compare, ut::allocator< Key > > set
Specialization of set which uses ut_allocator.
Definition: ut0new.h:2887
 
case opt name
Definition: sslopt-case.h:29
 
Definition: reference_cache_common.h:50
 
bool operator()(const Service_name_entry &lhs, const Service_name_entry &rhs) const
Definition: reference_cache_common.h:51
 
Definition: reference_cache_common.h:36
 
Service_name_entry(const Service_name_entry &src)
Definition: reference_cache_common.h:39
 
Service_name_entry(const char *name, unsigned int count)
Definition: reference_cache_common.h:37
 
std::string name_
Definition: reference_cache_common.h:46
 
Service_name_entry & operator=(const Service_name_entry &rhs)
Definition: reference_cache_common.h:41
 
std::atomic< unsigned int > count_
Definition: reference_cache_common.h:47