24#ifndef DD__RESOURCE_GROUP_IMPL_INCLUDED
25#define DD__RESOURCE_GROUP_IMPL_INCLUDED
42class Open_dictionary_tables_ctx;
71 const std::bitset<CPU_MASK_SIZE> &
cpu_id_mask()
const override {
76 const std::vector<resourcegroups::Range> &vcpu_vec)
override {
78 for (
auto vcpu_range : vcpu_vec) {
79 for (
auto bit_pos = vcpu_range.m_start; bit_pos <= vcpu_range.m_end;
Definition: entity_object_impl.h:44
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:49
const String_type & name() const override
Definition: entity_object_impl.h:60
Entity_object_impl * impl() override
Definition: entity_object_impl.h:68
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:57
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
Definition: raw_record.h:46
Definition: resource_group_impl.h:45
bool store_attributes(Raw_record *r) override
Definition: resource_group_impl.cc:90
const String_type & name() const override
Definition: resource_group_impl.h:100
Resource_group * clone() const override
Definition: resource_group_impl.h:114
int thread_priority() const override
Definition: resource_group_impl.h:85
const std::bitset< CPU_MASK_SIZE > & cpu_id_mask() const override
Definition: resource_group_impl.h:71
void set_resource_group_enabled(bool enabled) override
Definition: resource_group_impl.h:67
Resource_group_impl()
Definition: resource_group_impl.cc:38
int m_thread_priority
Definition: resource_group_impl.h:112
const Entity_object_impl * impl() const override
Definition: resource_group_impl.h:93
void set_name(const String_type &name) override
Definition: resource_group_impl.h:103
bool restore_attributes(const Raw_record &r) override
Definition: resource_group_impl.cc:67
bool m_enabled
Definition: resource_group_impl.h:110
const resourcegroups::Type & resource_group_type() const override
Definition: resource_group_impl.h:59
void set_cpu_id_mask(const std::vector< resourcegroups::Range > &vcpu_vec) override
Definition: resource_group_impl.h:75
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_clie...
Definition: resource_group_impl.h:118
Object_id id() const override
The unique dictionary object id.
Definition: resource_group_impl.h:96
bool resource_group_enabled() const override
Definition: resource_group_impl.h:66
Entity_object_impl * impl() override
Definition: resource_group_impl.h:92
String_type m_resource_group_name
Definition: resource_group_impl.h:108
const Object_table & object_table() const override
Definition: resource_group_impl.cc:112
void debug_print(String_type &outb) const override
Definition: resource_group_impl.cc:101
std::bitset< CPU_MASK_SIZE > m_cpu_id_mask
Definition: resource_group_impl.h:111
void set_resource_group_type(const resourcegroups::Type &type) override
Definition: resource_group_impl.h:62
bool validate() const override
Definition: resource_group_impl.cc:53
void set_thread_priority(int priority) override
Definition: resource_group_impl.h:87
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: resource_group_impl.h:97
resourcegroups::Type m_type
Definition: resource_group_impl.h:109
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: resource_group_impl.cc:116
Definition: resource_group.h:49
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
Type
Definition: resource_group_basic_types.h:33
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
required uint32 priority
Definition: replication_group_member_actions.proto:35
required string type
Definition: replication_group_member_actions.proto:34
required bool enabled
Definition: replication_group_member_actions.proto:33