MySQL 8.0.39
Source Code Documentation
Innodb_data_lock_inspector Class Reference

Inspect data locks in innodb. More...

#include <p_s.h>

Inheritance diagram for Innodb_data_lock_inspector:
[legend]

Public Member Functions

 Innodb_data_lock_inspector ()=default
 
 ~Innodb_data_lock_inspector () override=default
 
PSI_engine_data_lock_iteratorcreate_data_lock_iterator () override
 Create a data lock iterator. More...
 
PSI_engine_data_lock_wait_iteratorcreate_data_lock_wait_iterator () override
 Create a data lock wait iterator. More...
 
void destroy_data_lock_iterator (PSI_engine_data_lock_iterator *it) override
 Destroy a data lock iterator. More...
 
void destroy_data_lock_wait_iterator (PSI_engine_data_lock_wait_iterator *it) override
 Destroy a data lock wait iterator. More...
 
- Public Member Functions inherited from PSI_engine_data_lock_inspector
 PSI_engine_data_lock_inspector ()=default
 
virtual ~PSI_engine_data_lock_inspector ()=default
 

Detailed Description

Inspect data locks in innodb.

This class is used by the performance schema to extract lock data.

Constructor & Destructor Documentation

◆ Innodb_data_lock_inspector()

Innodb_data_lock_inspector::Innodb_data_lock_inspector ( )
default

◆ ~Innodb_data_lock_inspector()

Innodb_data_lock_inspector::~Innodb_data_lock_inspector ( )
overridedefault

Member Function Documentation

◆ create_data_lock_iterator()

PSI_engine_data_lock_iterator * Innodb_data_lock_inspector::create_data_lock_iterator ( )
overridevirtual

Create a data lock iterator.

The iterator returned is used to extract data_locks rows from the storage engine.

See also
destroy_data_lock_iterator

Implements PSI_engine_data_lock_inspector.

◆ create_data_lock_wait_iterator()

PSI_engine_data_lock_wait_iterator * Innodb_data_lock_inspector::create_data_lock_wait_iterator ( )
overridevirtual

Create a data lock wait iterator.

The iterator returned is used to extract data_lock_waits rows from the storage engine.

See also
destroy_data_lock_wait_iterator

Implements PSI_engine_data_lock_inspector.

◆ destroy_data_lock_iterator()

void Innodb_data_lock_inspector::destroy_data_lock_iterator ( PSI_engine_data_lock_iterator it)
overridevirtual

Destroy a data lock iterator.

Implements PSI_engine_data_lock_inspector.

◆ destroy_data_lock_wait_iterator()

void Innodb_data_lock_inspector::destroy_data_lock_wait_iterator ( PSI_engine_data_lock_wait_iterator it)
overridevirtual

Destroy a data lock wait iterator.

Implements PSI_engine_data_lock_inspector.


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