![]() |
MySQL 9.2.0
Source Code Documentation
|
Key_value_store logging facility debug builds only. More...
#include <kv_store_logger.h>
Public Member Functions | |
std::vector< Key_value_store_stats > | stats () |
Returns a snapshot of stats collected. More... | |
Protected Member Functions | |
void | log (Key_value_store_stats::Event event) |
Appends a new entry to stats container with the given event. More... | |
void | dbug_print () |
DBUG_PRINT's the stats of underlying key-value store implementation. More... | |
Private Attributes | |
std::vector< Key_value_store_stats > | m_stats |
Container of stats that we will be collecting. More... | |
Key_value_store logging facility debug builds only.
|
inlineprotected |
DBUG_PRINT's the stats of underlying key-value store implementation.
|
inlineprotected |
Appends a new entry to stats container with the given event.
[in] event Type of event to be logged.
|
inline |
Returns a snapshot of stats collected.
To keep up with the thread-safety guarantee promise, snapshot must be made under the lock.
|
private |
Container of stats that we will be collecting.