20 #ifndef RIPPLE_NODESTORE_MANAGERIMP_H_INCLUDED
21 #define RIPPLE_NODESTORE_MANAGERIMP_H_INCLUDED
23 #include <ripple/nodestore/Manager.h>
Holds a collection of configuration values.
Singleton for managing NodeStore factories and back ends.
Base class for backend factories.
void insert(Factory &factory) override
Add a factory.
static void missing_backend()
std::unique_ptr< Database > make_Database(std::size_t burstSize, Scheduler &scheduler, int readThreads, Section const &config, beast::Journal journal) override
Construct a NodeStore database.
std::unique_ptr< Backend > make_Backend(Section const ¶meters, std::size_t burstSize, Scheduler &scheduler, beast::Journal journal) override
Create a backend.
Factory * find(std::string const &name) override
Return a pointer to the matching factory if it exists.
static ManagerImp & instance()
A generic endpoint for log messages.
Scheduling for asynchronous backend activity.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::vector< Factory * > list_
void erase(Factory &factory) override
Remove a factory.