MySQL 8.0.40
Source Code Documentation
dd::cache::Shared_multi_map< T >::Autolocker Class Reference

Public Member Functions

 Autolocker (Shared_multi_map< T > *map)
 
void auto_delete (const T *object)
 
void auto_delete (const Cache_element< T > *element)
 
 ~Autolocker ()
 

Private Types

typedef std::vector< const T *, Malloc_allocator< const T * > > Object_list_type
 
typedef std::vector< const Cache_element< T > *, Malloc_allocator< const Cache_element< T > * > > Element_list_type
 

Private Attributes

Object_list_type m_objects_to_delete
 
Element_list_type m_elements_to_delete
 
Shared_multi_map< T > * m_map
 

Member Typedef Documentation

◆ Element_list_type

template<typename T >
typedef std::vector<const Cache_element<T> *, Malloc_allocator<const Cache_element<T> *> > dd::cache::Shared_multi_map< T >::Autolocker::Element_list_type
private

◆ Object_list_type

template<typename T >
typedef std::vector<const T *, Malloc_allocator<const T *> > dd::cache::Shared_multi_map< T >::Autolocker::Object_list_type
private

Constructor & Destructor Documentation

◆ Autolocker()

template<typename T >
dd::cache::Shared_multi_map< T >::Autolocker::Autolocker ( Shared_multi_map< T > *  map)
inlineexplicit

◆ ~Autolocker()

template<typename T >
dd::cache::Shared_multi_map< T >::Autolocker::~Autolocker ( )
inline

Member Function Documentation

◆ auto_delete() [1/2]

template<typename T >
void dd::cache::Shared_multi_map< T >::Autolocker::auto_delete ( const Cache_element< T > *  element)
inline

◆ auto_delete() [2/2]

template<typename T >
void dd::cache::Shared_multi_map< T >::Autolocker::auto_delete ( const T *  object)
inline

Member Data Documentation

◆ m_elements_to_delete

template<typename T >
Element_list_type dd::cache::Shared_multi_map< T >::Autolocker::m_elements_to_delete
private

◆ m_map

template<typename T >
Shared_multi_map<T>* dd::cache::Shared_multi_map< T >::Autolocker::m_map
private

◆ m_objects_to_delete

template<typename T >
Object_list_type dd::cache::Shared_multi_map< T >::Autolocker::m_objects_to_delete
private

The documentation for this class was generated from the following file: