Fawkes API
Fawkes Development Version
|
23 #ifndef _PLUGINS_MONGODB_ASPECT_MONGODB_H_
24 #define _PLUGINS_MONGODB_ASPECT_MONGODB_H_
26 #include <aspect/aspect.h>
31 #include <mongocxx/client.hpp>
34 class MongoDBConnCreator;
36 class MongoDBAspectIniFin;
50 return mongodb_config_name_;
61 std::string mongodb_config_name_;
const std::string & mongodb_config_name() const
Get MongoDB configuration name.
Thread aspect to access MongoDB.
Interface for a MongoDB connection creator.
mongocxx::client * mongodb_client
MongoDB client to use to interact with the database.
MongoDBConnCreator * mongodb_connmgr
Connection manager to retrieve more client connections from if necessary.
MongoDBAspect initializer/finalizer.
virtual ~MongoDBAspect()
Virtual empty destructor.
Fawkes library namespace.
MongoDBAspect()
Constructor.
Fawkes aspect base class.