![]() |
Fledge
An open source edge computing platform for industrial users
|
StoragePerformanceMonitor is a derived class from PerformanceMonitor It allows direct writing of monitoring data to database. More...
#include <storage_api.h>
Public Member Functions | |
StoragePerformanceMonitor (const std::string &name, StorageApi *api) | |
void | writeData (const std::string &table, const InsertValues &values) |
![]() | |
PerformanceMonitor (const std::string &service, StorageClient *storage) | |
Constructor for the performance monitors. More... | |
virtual | ~PerformanceMonitor () |
Destructor for the performance monitor. | |
void | collect (const std::string &name, long value) |
Collect a performance monitor. More... | |
void | setCollecting (bool state) |
Set the collection state of the performance monitors. More... | |
void | writeThread () |
The thread that runs to write database values. | |
bool | isCollecting () |
StoragePerformanceMonitor is a derived class from PerformanceMonitor It allows direct writing of monitoring data to database.