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