23 #ifndef __PLUGINS_MONGORRD_MONGORRD_THREAD_H_ 24 #define __PLUGINS_MONGORRD_MONGORRD_THREAD_H_ 26 #include <core/threading/thread.h> 27 #include <aspect/logging.h> 28 #include <aspect/configurable.h> 29 #include <aspect/clock.h> 30 #include <plugins/mongodb/aspect/mongodb.h> 31 #include <plugins/rrd/aspect/rrd.h> 32 #include <config/change_handler.h> 53 virtual void finalize();
59 void add_dbstats(
const char *path, std::string dbname);
60 void remove_dbstats(
const char *path);
62 virtual void config_tag_changed(
const char *new_tag);
65 virtual void config_value_erased(
const char *path);
83 std::string conf_path;
91 typedef std::map<std::string, DbStatsInfo> DbStatsMap;
Thread aspect that allows to obtain the current time from the clock.
Fawkes library namespace.
virtual void run()
Code to execute in the thread.
Interface for configuration change handling.
Thread class encapsulation of pthreads.
Thread aspect to access MongoDB.
Thread aspect create, update, and graph round-robin databases (RRD).
Class representing a graph definition.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to log output.
Thread aspect to access configuration data.
Iterator interface to iterate over config values.