MySQL 8.0.39
Source Code Documentation

Engine interface, row lock inspector. More...

#include <psi_data_lock.h>

Inheritance diagram for PSI_engine_data_lock_inspector:
[legend]

Public Member Functions

 PSI_engine_data_lock_inspector ()=default
 
virtual ~PSI_engine_data_lock_inspector ()=default
 
virtual PSI_engine_data_lock_iteratorcreate_data_lock_iterator ()=0
 Create a data lock iterator. More...
 
virtual PSI_engine_data_lock_wait_iteratorcreate_data_lock_wait_iterator ()=0
 Create a data lock wait iterator. More...
 
virtual void destroy_data_lock_iterator (PSI_engine_data_lock_iterator *it)=0
 Destroy a data lock iterator. More...
 
virtual void destroy_data_lock_wait_iterator (PSI_engine_data_lock_wait_iterator *it)=0
 Destroy a data lock wait iterator. More...
 

Detailed Description

Engine interface, row lock inspector.

This is the interface exposed

  • by a storage engine
  • to the server to create an iterator over all row locks. The storage engine is to implement this interface. The server is to call create_iterator() to ask the engine to create an iterator over all row locks. A PSI_engine_data_lock_inspector is meant to be stateless, and not associated to any opened table handle, while the iterator created is meant to be stateful, and dedicated to an opened performance_schema.row_locks table handle.

Constructor & Destructor Documentation

◆ PSI_engine_data_lock_inspector()

PSI_engine_data_lock_inspector::PSI_engine_data_lock_inspector ( )
default

◆ ~PSI_engine_data_lock_inspector()

virtual PSI_engine_data_lock_inspector::~PSI_engine_data_lock_inspector ( )
virtualdefault

Member Function Documentation

◆ create_data_lock_iterator()

virtual PSI_engine_data_lock_iterator * PSI_engine_data_lock_inspector::create_data_lock_iterator ( )
pure virtual

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

Implemented in Innodb_data_lock_inspector.

◆ create_data_lock_wait_iterator()

virtual PSI_engine_data_lock_wait_iterator * PSI_engine_data_lock_inspector::create_data_lock_wait_iterator ( )
pure virtual

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

Implemented in Innodb_data_lock_inspector.

◆ destroy_data_lock_iterator()

virtual void PSI_engine_data_lock_inspector::destroy_data_lock_iterator ( PSI_engine_data_lock_iterator it)
pure virtual

Destroy a data lock iterator.

Implemented in Innodb_data_lock_inspector.

◆ destroy_data_lock_wait_iterator()

virtual void PSI_engine_data_lock_inspector::destroy_data_lock_wait_iterator ( PSI_engine_data_lock_wait_iterator it)
pure virtual

Destroy a data lock wait iterator.

Implemented in Innodb_data_lock_inspector.


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