24#ifndef DD_CACHE__CACHE_ELEMENT_INCLUDED
25#define DD_CACHE__CACHE_ELEMENT_INCLUDED
41class Shared_multi_map;
174 const typename T::Id_key *
id_key()
const {
194 template <
typename K>
203 fprintf(stderr,
"%sobj: %p, id: %llu, cnt: %u", prefix.c_str(),
m_object,
205 fprintf(stderr,
", id_k: %s",
207 fprintf(stderr,
", name_k: %s",
209 fprintf(stderr,
", aux_k: %s\n",
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
Helper class to represent a key instance.
Definition: cache_element.h:87
K key
Definition: cache_element.h:90
bool is_null
Definition: cache_element.h:89
Key_wrapper()
Definition: cache_element.h:91
Implementation of a dictionary client.
Definition: cache_element.h:69
void delete_keys()
Definition: cache_element.h:120
const T::Aux_key * get_key(Type_selector< typename T::Aux_key >) const
Definition: cache_element.h:115
const T::Name_key * name_key() const
Definition: cache_element.h:179
void recreate_keys()
Definition: cache_element.h:135
void use()
Definition: cache_element.h:127
uint usage() const
Definition: cache_element.h:168
void dump(const String_type &prefix=" ") const
Definition: cache_element.h:201
const T::Name_key * get_key(Type_selector< typename T::Name_key >) const
Definition: cache_element.h:110
const T * object() const
Definition: cache_element.h:171
friend class dd_cache_unittest::CacheTestHelper
Definition: cache_element.h:71
void set_object(const T *replacement_object)
Definition: cache_element.h:130
const T::Id_key * id_key() const
Definition: cache_element.h:174
const T * m_object
Definition: cache_element.h:76
~Cache_element()
Definition: cache_element.h:152
Key_wrapper< typename T::Name_key > m_name_key
Definition: cache_element.h:95
Key_wrapper< typename T::Aux_key > m_aux_key
Definition: cache_element.h:96
void init()
Definition: cache_element.h:155
const T *const * get_key(Type_selector< const T * >) const
Definition: cache_element.h:102
void release()
Definition: cache_element.h:162
Key_wrapper< typename T::Id_key > m_id_key
Definition: cache_element.h:94
const T::Id_key * get_key(Type_selector< typename T::Id_key >) const
Definition: cache_element.h:106
const T::Aux_key * aux_key() const
Definition: cache_element.h:184
Cache_element()
Definition: cache_element.h:144
const K * get_key() const
Template function to get a pointer to a key based on the type.
Definition: cache_element.h:195
uint m_ref_counter
Definition: cache_element.h:77
Definition: dictionary_client.h:149
Implementation of a shared set of maps for a given object type.
Definition: shared_multi_map.h:118
Handling of access to persistent storage.
Definition: storage_adapter.h:60
Definition: dictionary_client.h:1274
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
Definition: cache_element.h:100