MySQL 8.0.39
Source Code Documentation
|
#include <resource_group_impl.h>
Public Member Functions | |
Resource_group_impl () | |
Resource_group_impl (const Resource_group_impl &) | |
const Object_table & | object_table () const override |
bool | validate () const override |
bool | restore_attributes (const Raw_record &r) override |
bool | store_attributes (Raw_record *r) override |
void | debug_print (String_type &outb) const override |
const resourcegroups::Type & | resource_group_type () const override |
void | set_resource_group_type (const resourcegroups::Type &type) override |
bool | resource_group_enabled () const override |
void | set_resource_group_enabled (bool enabled) override |
const std::bitset< CPU_MASK_SIZE > & | cpu_id_mask () const override |
void | set_cpu_id_mask (const std::vector< resourcegroups::Range > &vcpu_vec) override |
int | thread_priority () const override |
void | set_thread_priority (int priority) override |
Entity_object_impl * | impl () override |
const Entity_object_impl * | impl () const override |
Object_id | id () const override |
The unique dictionary object id. More... | |
bool | is_persistent () const override |
Is dictionary object persistent in dictionary tables ? More... | |
const String_type & | name () const override |
void | set_name (const String_type &name) override |
Public Member Functions inherited from dd::Entity_object_impl | |
Entity_object_impl () | |
void | set_id (Object_id id) |
Object_key * | create_primary_key () const override |
bool | has_new_primary_key () const override |
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g. More... | |
Public Member Functions inherited from dd::Weak_object | |
Weak_object ()=default | |
Weak_object (const Weak_object &)=default | |
virtual | ~Weak_object ()=default |
Public Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
Weak_object_impl_ ()=default | |
~Weak_object_impl_ () override=default | |
void * | operator new (size_t size, const std::nothrow_t &nt) noexcept |
void | operator delete (void *ptr, const std::nothrow_t &nt) noexcept |
void * | operator new (size_t size) noexcept |
void | operator delete (void *ptr) noexcept |
virtual bool | store (Open_dictionary_tables_ctx *otx) |
Store the DD object into DD table. More... | |
bool | drop (Open_dictionary_tables_ctx *otx) const |
Drop the DD object from DD table. More... | |
virtual bool | restore_children (Open_dictionary_tables_ctx *) |
virtual bool | store_children (Open_dictionary_tables_ctx *) |
virtual bool | drop_children (Open_dictionary_tables_ctx *) const |
Public Member Functions inherited from dd::Resource_group | |
~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 |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
Static Public Member Functions inherited from dd::Resource_group | |
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) |
Private Member Functions | |
Resource_group * | clone () const override |
Resource_group * | clone_dropped_object_placeholder () const override |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry (i.e. More... | |
Private Attributes | |
String_type | m_resource_group_name |
resourcegroups::Type | m_type |
bool | m_enabled |
std::bitset< CPU_MASK_SIZE > | m_cpu_id_mask |
int | m_thread_priority |
dd::Resource_group_impl::Resource_group_impl | ( | ) |
dd::Resource_group_impl::Resource_group_impl | ( | const Resource_group_impl & | src | ) |
|
inlineoverrideprivatevirtual |
Implements dd::Resource_group.
|
inlineoverrideprivatevirtual |
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).
Implements dd::Resource_group.
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
overridevirtual |
Implements dd::Weak_object.
|
inlineoverridevirtual |
The unique dictionary object id.
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
static |
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Resource_group.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
private |
|
private |
|
private |
|
private |
|
private |