![]() |
MySQL 26.7.0
Source Code Documentation
|
Singleton Transaction_conflict_manager for all of the registered "instances". More...
#include <transaction_conflict_manager.h>
Static Public Member Functions | |
| static Transaction_conflict_manager_sptr & | get (std::size_t instance_id) |
| Obtain Transaction_conflict_manager for unique instance id. More... | |
Protected Types | |
| using | Instances_map = std::array< Transaction_conflict_manager_sptr, max_instances > |
Protected Member Functions | |
| Transaction_conflict_monitor ()=default | |
Static Protected Member Functions | |
| static void | init () |
| This initialization function is called by "get" if needed. More... | |
Static Protected Attributes | |
| static constexpr int | max_instances |
| static Instances_map | m_instances |
| static std::atomic< bool > | m_init {false} |
| static std::atomic< bool > | m_ready {false} |
Singleton Transaction_conflict_manager for all of the registered "instances".
We typically track statistics separately for user-defined channels
|
protected |
|
protecteddefault |
|
static |
Obtain Transaction_conflict_manager for unique instance id.
| instance_id | Unique instance id for the replication channel |
|
staticprotected |
This initialization function is called by "get" if needed.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
inlinestaticconstexprprotected |