Fledge
An open source edge computing platform for industrial users
StoragePerformanceMonitor Class Reference

StoragePerformanceMonitor is a derived class from PerformanceMonitor It allows direct writing of monitoring data to database. More...

#include <storage_api.h>

Inheritance diagram for StoragePerformanceMonitor:
Collaboration diagram for StoragePerformanceMonitor:

Public Member Functions

 StoragePerformanceMonitor (const std::string &name, StorageApi *api)
 
void writeData (const std::string &table, const InsertValues &values)
 
- Public Member Functions inherited from PerformanceMonitor
 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 ()
 

Detailed Description

StoragePerformanceMonitor is a derived class from PerformanceMonitor It allows direct writing of monitoring data to database.


The documentation for this class was generated from the following file: