MySQL 8.4.2
Source Code Documentation
dd::Resource_group Class Referenceabstract

#include <resource_group.h>

Inheritance diagram for dd::Resource_group:
[legend]

Public Types

typedef Resource_group_impl Impl
 
typedef Resource_group Cache_partition
 
typedef tables::Resource_groups DD_table
 
typedef Primary_id_key Id_key
 
typedef Global_name_key Name_key
 
typedef Void_key Aux_key
 

Public Member Functions

 ~Resource_group () override=default
 
virtual bool update_id_key (Id_key *key) const
 
virtual bool update_name_key (Name_key *key) const
 
virtual bool update_aux_key (Aux_key *) const
 
virtual const resourcegroups::Typeresource_group_type () const =0
 
virtual void set_resource_group_type (const resourcegroups::Type &type)=0
 
virtual bool resource_group_enabled () const =0
 
virtual void set_resource_group_enabled (bool enabled)=0
 
virtual const std::bitset< CPU_MASK_SIZE > & cpu_id_mask () const =0
 
virtual void set_cpu_id_mask (const std::vector< resourcegroups::Range > &vcpu_vec)=0
 
virtual int thread_priority () const =0
 
virtual void set_thread_priority (int priority)=0
 
virtual Resource_groupclone () const =0
 
virtual Resource_groupclone_dropped_object_placeholder () const =0
 Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry (i.e. More...
 
- Public Member Functions inherited from dd::Entity_object
virtual Object_id id () const =0
 The unique dictionary object id. More...
 
virtual bool is_persistent () const =0
 Is dictionary object persistent in dictionary tables ? More...
 
virtual const String_typename () const =0
 
virtual void set_name (const String_type &name)=0
 
- Public Member Functions inherited from dd::Weak_object
virtual void debug_print (String_type &outb) const =0
 
 Weak_object ()=default
 
 Weak_object (const Weak_object &)=default
 
virtual ~Weak_object ()=default
 

Static Public Member Functions

static bool update_id_key (Id_key *key, Object_id id)
 
static bool update_name_key (Name_key *key, const String_type &name)
 
static void create_mdl_key (const String_type &name, MDL_key *key)
 

Member Typedef Documentation

◆ Aux_key

◆ Cache_partition

◆ DD_table

◆ Id_key

◆ Impl

◆ Name_key

Constructor & Destructor Documentation

◆ ~Resource_group()

dd::Resource_group::~Resource_group ( )
overridedefault

Member Function Documentation

◆ clone()

virtual Resource_group * dd::Resource_group::clone ( ) const
pure virtual

Implemented in dd::Resource_group_impl.

◆ clone_dropped_object_placeholder()

virtual Resource_group * dd::Resource_group::clone_dropped_object_placeholder ( ) const
pure virtual

Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry (i.e.

it has the same keys as original).

Implemented in dd::Resource_group_impl.

◆ cpu_id_mask()

virtual const std::bitset< CPU_MASK_SIZE > & dd::Resource_group::cpu_id_mask ( ) const
pure virtual

Implemented in dd::Resource_group_impl.

◆ create_mdl_key()

void dd::Resource_group::create_mdl_key ( const String_type name,
MDL_key key 
)
static

◆ resource_group_enabled()

virtual bool dd::Resource_group::resource_group_enabled ( ) const
pure virtual

Implemented in dd::Resource_group_impl.

◆ resource_group_type()

virtual const resourcegroups::Type & dd::Resource_group::resource_group_type ( ) const
pure virtual

Implemented in dd::Resource_group_impl.

◆ set_cpu_id_mask()

virtual void dd::Resource_group::set_cpu_id_mask ( const std::vector< resourcegroups::Range > &  vcpu_vec)
pure virtual

Implemented in dd::Resource_group_impl.

◆ set_resource_group_enabled()

virtual void dd::Resource_group::set_resource_group_enabled ( bool  enabled)
pure virtual

Implemented in dd::Resource_group_impl.

◆ set_resource_group_type()

virtual void dd::Resource_group::set_resource_group_type ( const resourcegroups::Type type)
pure virtual

Implemented in dd::Resource_group_impl.

◆ set_thread_priority()

virtual void dd::Resource_group::set_thread_priority ( int  priority)
pure virtual

Implemented in dd::Resource_group_impl.

◆ thread_priority()

virtual int dd::Resource_group::thread_priority ( ) const
pure virtual

Implemented in dd::Resource_group_impl.

◆ update_aux_key()

virtual bool dd::Resource_group::update_aux_key ( Aux_key ) const
inlinevirtual

◆ update_id_key() [1/2]

virtual bool dd::Resource_group::update_id_key ( Id_key key) const
inlinevirtual

◆ update_id_key() [2/2]

bool dd::Resource_group::update_id_key ( Id_key key,
Object_id  id 
)
static

◆ update_name_key() [1/2]

virtual bool dd::Resource_group::update_name_key ( Name_key key) const
inlinevirtual

◆ update_name_key() [2/2]

bool dd::Resource_group::update_name_key ( Name_key key,
const String_type name 
)
static

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