MySQL 9.1.0
Source Code Documentation
Log_resource_gtid_state_wrapper Class Reference

This is the Log_resource to handle Gtid_state resources. More...

#include <log_resource.h>

Inheritance diagram for Log_resource_gtid_state_wrapper:
[legend]

Public Member Functions

 Log_resource_gtid_state_wrapper (Gtid_state *gtid_state_arg, Json_dom *json_arg)
 Log_resource_gtid_state_wrapper constructor. More...
 
void lock () override
 Lock the resource avoiding updates. More...
 
void unlock () override
 Unlock the resource allowing updates. More...
 
bool collect_info () override
 Collect resource log information. More...
 
- Public Member Functions inherited from Log_resource
 Log_resource (Json_dom *json_arg)
 Log_resource constructor. More...
 
virtual ~Log_resource ()
 Destructor. More...
 
Json_domget_json ()
 Return the pointer to the JSON object that should be used to fill the resource log information. More...
 

Private Attributes

Gtid_stategtid_state = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from Log_resource
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 be visible to plugins. More...
 

Detailed Description

This is the Log_resource to handle Gtid_state resources.

Constructor & Destructor Documentation

◆ Log_resource_gtid_state_wrapper()

Log_resource_gtid_state_wrapper::Log_resource_gtid_state_wrapper ( Gtid_state gtid_state_arg,
Json_dom json_arg 
)
inline

Log_resource_gtid_state_wrapper constructor.

Parameters
[in]gtid_state_argthe pointer to the Gtid_state object resource.
[in]json_argthe pointer to the JSON object to be populated with the resource log information.

Member Function Documentation

◆ collect_info()

bool Log_resource_gtid_state_wrapper::collect_info ( )
overridevirtual

Collect resource log information.

Returns
false on success. true if there was an error collecting the information.

Implements Log_resource.

◆ lock()

void Log_resource_gtid_state_wrapper::lock ( )
overridevirtual

Lock the resource avoiding updates.

Implements Log_resource.

◆ unlock()

void Log_resource_gtid_state_wrapper::unlock ( )
overridevirtual

Unlock the resource allowing updates.

Implements Log_resource.

Member Data Documentation

◆ gtid_state

Gtid_state* Log_resource_gtid_state_wrapper::gtid_state = nullptr
private

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