29#include <unordered_map>
Definition: cache_allocator.h:31
service_names_set m_service_names
Definition: cache.h:61
channel_imp * m_channel
Definition: cache.h:54
static bool destroy(cache_imp *cache)
Definition: cache.cc:42
my_h_service ** m_cache
Definition: cache.h:59
cache_imp & operator=(const cache_imp &)
cache_imp(channel_imp *channel, const mysql_service_registry_t *registry)
Definition: cache.cc:181
service_names_set< std::string, std::less< std::string > > m_ignore_list
Definition: cache.h:62
static cache_imp * create(channel_imp *channel, const mysql_service_registry_t *registry)
Definition: cache.cc:33
~cache_imp()
Definition: cache.cc:190
bool m_populated
Definition: cache.h:64
bool get(unsigned service_name_index, const my_h_service **ref)
Definition: cache.cc:47
const mysql_service_registry_t * m_registry
Definition: cache.h:60
cache_imp(const cache_imp &)
bool flush()
Definition: cache.cc:161
unsigned int m_cache_version
Definition: cache.h:63
Definition: reference_cache_common.h:60
struct my_h_service_imp * my_h_service
A handle type for acquired Service.
Definition: registry.h:33
PT & ref(PT *tp)
Definition: tablespace_impl.cc:359
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76