142 void lock()
override;
167 void lock()
override;
193 void lock()
override;
218 void lock()
override;
Represents the server's GTID state: the set of committed GTIDs, the set of lost gtids,...
Definition: rpl_gtid.h:2710
JSON DOM abstract base class.
Definition: json_dom.h:173
This is the Log_resource to handle MYSQL_BIN_LOG resources.
Definition: log_resource.h:152
Log_resource_binlog_wrapper(MYSQL_BIN_LOG *binlog_arg, Json_dom *json_arg)
Log_resource_binlog_wrapper constructor.
Definition: log_resource.h:164
void lock() override
Lock the resource avoiding updates.
Definition: log_resource.cc:62
void unlock() override
Unlock the resource allowing updates.
Definition: log_resource.cc:66
bool collect_info() override
Collect resource log information.
Definition: log_resource.cc:70
This is the Log_resource factory to create wrappers for supported resources.
Definition: log_resource.h:229
static Log_resource * get_wrapper(Master_info *mi, Json_dom *json)
Creates a Log_resource wrapper based on a Master_info object.
Definition: log_resource.cc:125
This is the Log_resource to handle Gtid_state resources.
Definition: log_resource.h:177
Gtid_state * gtid_state
Definition: log_resource.h:178
bool collect_info() override
Collect resource log information.
Definition: log_resource.cc:94
void unlock() override
Unlock the resource allowing updates.
Definition: log_resource.cc:92
Log_resource_gtid_state_wrapper(Gtid_state *gtid_state_arg, Json_dom *json_arg)
Log_resource_gtid_state_wrapper constructor.
Definition: log_resource.h:189
void lock() override
Lock the resource avoiding updates.
Definition: log_resource.cc:90
This is the Log_resource to handle handlerton resources.
Definition: log_resource.h:203
bool collect_info() override
Collect resource log information.
Definition: log_resource.cc:117
Log_resource_hton_wrapper(handlerton *hton_arg, Json_dom *json_arg)
Log_resource_hton_wrapper constructor.
Definition: log_resource.h:215
void unlock() override
Unlock the resource allowing updates.
Definition: log_resource.cc:113
void lock() override
Lock the resource avoiding updates.
Definition: log_resource.cc:109
handlerton * hton
Definition: log_resource.h:204
This is the Log_resource to handle Master_info resources.
Definition: log_resource.h:127
void lock() override
Lock the resource avoiding updates.
Definition: log_resource.cc:32
bool collect_info() override
Collect resource log information.
Definition: log_resource.cc:36
void unlock() override
Unlock the resource allowing updates.
Definition: log_resource.cc:34
Master_info * mi
Definition: log_resource.h:128
Log_resource_mi_wrapper(Master_info *mi_arg, Json_dom *json_arg)
Log_resource_mi_wrapper constructor.
Definition: log_resource.h:139
This is the base class that the logic of collecting a MySQL server instance resources log will call.
Definition: log_resource.h:56
static int dummy_function_to_ensure_we_are_linked_into_the_server()
There must be one function of this kind in order for the symbols in the server's dynamic library to b...
Definition: log_resource.cc:28
Log_resource(Json_dom *json_arg)
Log_resource constructor.
Definition: log_resource.h:75
Json_dom * json
Definition: log_resource.h:58
virtual void lock()=0
Lock the resource avoiding updates.
virtual ~Log_resource()
Destructor.
Definition: log_resource.h:83
virtual void unlock()=0
Unlock the resource allowing updates.
Json_dom * get_json()
Return the pointer to the JSON object that should be used to fill the resource log information.
Definition: log_resource.h:92
virtual bool collect_info()=0
Collect resource log information.
Gtid_state * gtid_state
Global state of GTIDs.
Definition: mysqld.cc:1834
Definition: decompressing_event_object_istream.cc:31
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2622