MySQL 8.0.30
Source Code Documentation
PSI_engine_data_lock_wait_iterator Class Referenceabstract

#include <psi_data_lock.h>

Inheritance diagram for PSI_engine_data_lock_wait_iterator:
[legend]

Public Member Functions

 PSI_engine_data_lock_wait_iterator ()=default
 
virtual ~PSI_engine_data_lock_wait_iterator ()=default
 
virtual bool scan (PSI_server_data_lock_wait_container *container)=0
 Scan for more data lock waits. More...
 
virtual bool fetch (PSI_server_data_lock_wait_container *container, const char *requesting_engine_lock_id, size_t requesting_engine_lock_id_length, const char *blocking_engine_lock_id, size_t blocking_engine_lock_id_length)=0
 Fetch a given data lock wait. More...
 

Constructor & Destructor Documentation

◆ PSI_engine_data_lock_wait_iterator()

PSI_engine_data_lock_wait_iterator::PSI_engine_data_lock_wait_iterator ( )
default

◆ ~PSI_engine_data_lock_wait_iterator()

virtual PSI_engine_data_lock_wait_iterator::~PSI_engine_data_lock_wait_iterator ( )
virtualdefault

Member Function Documentation

◆ fetch()

virtual bool PSI_engine_data_lock_wait_iterator::fetch ( PSI_server_data_lock_wait_container container,
const char *  requesting_engine_lock_id,
size_t  requesting_engine_lock_id_length,
const char *  blocking_engine_lock_id,
size_t  blocking_engine_lock_id_length 
)
pure virtual

Fetch a given data lock wait.

Parameters
containerThe container to fill
requesting_engine_lock_idThe requesting lock id to search
requesting_engine_lock_id_lengthThe requesting lock id length
blocking_engine_lock_idThe blocking lock id to search
blocking_engine_lock_id_lengthThe blocking lock id length
Returns
true if the iterator is done

Implemented in Innodb_data_lock_wait_iterator.

◆ scan()

virtual bool PSI_engine_data_lock_wait_iterator::scan ( PSI_server_data_lock_wait_container container)
pure virtual

Scan for more data lock waits.

Parameters
containerThe container to fill
Returns
true if the iterator is done

Implemented in Innodb_data_lock_wait_iterator.


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