![]() |
MySQL 26.7.0
Source Code Documentation
|
Singleton Resource Monitor for all channels/instances. More...
#include <resource_monitor.h>
Static Public Member Functions | |
| static Resource_instance_monitor & | get (std::size_t instance_id) |
| Get the Resource_instance_monitor for the given channel/instance ID. More... | |
Protected Types | |
| using | Instances_map = std::array< Resource_instance_monitor, scheduler::Constants::max_instances > |
Protected Member Functions | |
| Resource_monitor ()=default | |
Static Protected Attributes | |
| static Instances_map | m_instances {} |
| Instances for separate channels, may be accessed concurrently between channel threads. More... | |
Singleton Resource Monitor for all channels/instances.
Provides one Resource_instance_monitor per channel.
|
protected |
|
protecteddefault |
|
static |
Get the Resource_instance_monitor for the given channel/instance ID.
| instance_id | The ID of the channel/instance. |
|
staticprotected |
Instances for separate channels, may be accessed concurrently between channel threads.