MySQL 9.1.0
Source Code Documentation
PSI_server_data_lock_wait_container Class Referenceabstract

#include <psi_data_lock.h>

Inheritance diagram for PSI_server_data_lock_wait_container:
[legend]

Public Member Functions

 PSI_server_data_lock_wait_container ()=default
 
virtual ~PSI_server_data_lock_wait_container ()=default
 
virtual const char * cache_string (const char *string)=0
 
virtual const char * cache_data (const char *ptr, size_t length)=0
 
virtual bool accept_engine (const char *engine, size_t engine_length)=0
 Check if the container accepts data for a particular engine. More...
 
virtual bool accept_requesting_lock_id (const char *engine_lock_id, size_t engine_lock_id_length)=0
 Check if the container accepts data for a particular requesting lock id. More...
 
virtual bool accept_blocking_lock_id (const char *engine_lock_id, size_t engine_lock_id_length)=0
 Check if the container accepts data for a particular blocking lock id. More...
 
virtual bool accept_requesting_transaction_id (ulonglong transaction_id)=0
 Check if the container accepts data for a particular requesting transaction id. More...
 
virtual bool accept_blocking_transaction_id (ulonglong transaction_id)=0
 Check if the container accepts data for a particular blocking transaction id. More...
 
virtual bool accept_requesting_thread_id_event_id (ulonglong thread_id, ulonglong event_id)=0
 Check if the container accepts data for a particular requesting event. More...
 
virtual bool accept_blocking_thread_id_event_id (ulonglong thread_id, ulonglong event_id)=0
 Check if the container accepts data for a particular blocking event. More...
 
virtual void add_lock_wait_row (const char *engine, size_t engine_length, const char *requesting_engine_lock_id, size_t requesting_engine_lock_id_length, ulonglong requesting_transaction_id, ulonglong requesting_thread_id, ulonglong requesting_event_id, const void *requesting_identity, const char *blocking_engine_lock_id, size_t blocking_engine_lock_id_length, ulonglong blocking_transaction_id, ulonglong blocking_thread_id, ulonglong blocking_event_id, const void *blocking_identity)=0
 Add a row to table performance_schema.data_lock_waits. More...
 

Constructor & Destructor Documentation

◆ PSI_server_data_lock_wait_container()

PSI_server_data_lock_wait_container::PSI_server_data_lock_wait_container ( )
default

◆ ~PSI_server_data_lock_wait_container()

virtual PSI_server_data_lock_wait_container::~PSI_server_data_lock_wait_container ( )
virtualdefault

Member Function Documentation

◆ accept_blocking_lock_id()

virtual bool PSI_server_data_lock_wait_container::accept_blocking_lock_id ( const char *  engine_lock_id,
size_t  engine_lock_id_length 
)
pure virtual

Check if the container accepts data for a particular blocking lock id.

This methods is used to prune data for queries like

SELECT * from performance_schema.data_lock_waits WHERE
BLOCKING_ENGINE_LOCK_ID = ...
const std::string SELECT("SELECT")
Name of the static privileges.
@ WHERE
Definition: sql_yacc.h:687

Implemented in PFS_data_lock_wait_container.

◆ accept_blocking_thread_id_event_id()

virtual bool PSI_server_data_lock_wait_container::accept_blocking_thread_id_event_id ( ulonglong  thread_id,
ulonglong  event_id 
)
pure virtual

Check if the container accepts data for a particular blocking event.

This methods is used to prune data for queries like

SELECT * from performance_schema.data_lock_waits
WHERE BLOCKING_THREAD_ID = ... AND BLOCKING_EVENT_ID = ...

Implemented in PFS_data_lock_wait_container.

◆ accept_blocking_transaction_id()

virtual bool PSI_server_data_lock_wait_container::accept_blocking_transaction_id ( ulonglong  transaction_id)
pure virtual

Check if the container accepts data for a particular blocking transaction id.

This methods is used to prune data for queries like

SELECT * from performance_schema.data_lock_waits WHERE
BLOCKING_ENGINE_TRANSACTION_ID = ...

Implemented in PFS_data_lock_wait_container.

◆ accept_engine()

virtual bool PSI_server_data_lock_wait_container::accept_engine ( const char *  engine,
size_t  engine_length 
)
pure virtual

Check if the container accepts data for a particular engine.

This methods is used to prune data for queries like

SELECT * from performance_schema.data_lock_waits WHERE ENGINE = ...

Implemented in PFS_data_lock_wait_container.

◆ accept_requesting_lock_id()

virtual bool PSI_server_data_lock_wait_container::accept_requesting_lock_id ( const char *  engine_lock_id,
size_t  engine_lock_id_length 
)
pure virtual

Check if the container accepts data for a particular requesting lock id.

This methods is used to prune data for queries like

SELECT * from performance_schema.data_lock_waits WHERE
REQUESTING_ENGINE_LOCK_ID = ...

Implemented in PFS_data_lock_wait_container.

◆ accept_requesting_thread_id_event_id()

virtual bool PSI_server_data_lock_wait_container::accept_requesting_thread_id_event_id ( ulonglong  thread_id,
ulonglong  event_id 
)
pure virtual

Check if the container accepts data for a particular requesting event.

This methods is used to prune data for queries like

SELECT * from performance_schema.data_lock_waits
WHERE REQUESTING_THREAD_ID = ... AND REQUESTING_EVENT_ID = ...

Implemented in PFS_data_lock_wait_container.

◆ accept_requesting_transaction_id()

virtual bool PSI_server_data_lock_wait_container::accept_requesting_transaction_id ( ulonglong  transaction_id)
pure virtual

Check if the container accepts data for a particular requesting transaction id.

This methods is used to prune data for queries like

SELECT * from performance_schema.data_lock_waits WHERE
REQUESTING_ENGINE_TRANSACTION_ID = ...

Implemented in PFS_data_lock_wait_container.

◆ add_lock_wait_row()

virtual void PSI_server_data_lock_wait_container::add_lock_wait_row ( const char *  engine,
size_t  engine_length,
const char *  requesting_engine_lock_id,
size_t  requesting_engine_lock_id_length,
ulonglong  requesting_transaction_id,
ulonglong  requesting_thread_id,
ulonglong  requesting_event_id,
const void *  requesting_identity,
const char *  blocking_engine_lock_id,
size_t  blocking_engine_lock_id_length,
ulonglong  blocking_transaction_id,
ulonglong  blocking_thread_id,
ulonglong  blocking_event_id,
const void *  blocking_identity 
)
pure virtual

Add a row to table performance_schema.data_lock_waits.

Implemented in PFS_data_lock_wait_container.

◆ cache_data()

virtual const char * PSI_server_data_lock_wait_container::cache_data ( const char *  ptr,
size_t  length 
)
pure virtual
See also
PSI_server_data_lock_container::cache_data.

Implemented in PFS_data_lock_wait_container.

◆ cache_string()

virtual const char * PSI_server_data_lock_wait_container::cache_string ( const char *  string)
pure virtual
See also
PSI_server_data_lock_container::cache_string.

Implemented in PFS_data_lock_wait_container.


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