MySQL 9.1.0
Source Code Documentation
|
Latch meta data. More...
#include <sync0types.h>
Public Types | |
typedef Counter | CounterType |
typedef mysql_pfs_key_t | pfs_key_t |
Public Member Functions | |
LatchMeta () | |
Constructor. More... | |
~LatchMeta ()=default | |
Destructor. More... | |
LatchMeta (latch_id_t id, const char *name, latch_level_t level, const char *level_name, pfs_key_t key) | |
Constructor. More... | |
bool | operator< (const LatchMeta &rhs) const |
latch_id_t | get_id () const |
const char * | get_name () const |
latch_level_t | get_level () const |
const char * | get_level_name () const |
pfs_key_t | get_pfs_key () const |
Counter * | get_counter () |
Private Attributes | |
latch_id_t | m_id |
Latch id. More... | |
const char * | m_name |
Latch name. More... | |
latch_level_t | m_level |
Latch level in the ordering. More... | |
const char * | m_level_name |
Latch level text representation. More... | |
pfs_key_t | m_pfs_key |
PFS key. More... | |
Counter | m_counter |
For gathering latch statistics. More... | |
Latch meta data.
typedef Counter LatchMeta< Counter >::CounterType |
typedef mysql_pfs_key_t LatchMeta< Counter >::pfs_key_t |
|
inline |
Constructor.
[in] | id | Latch id |
[in] | name | Latch name |
[in] | level | Latch level |
[in] | level_name | Latch level text representation |
[in] | key | PFS key |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
For gathering latch statistics.
|
private |
Latch id.
|
private |
Latch level in the ordering.
|
private |
Latch level text representation.
|
private |
Latch name.
PFS key.