This class provide access to the application run-time data including the in-memory DB.
void UpdateDb()
Try to connect to the DB and update the application configuration.
DataContext(Config &config, rad::OldbAsyncWriter &writer)
This constructor uses the application configuration to initialize the adapter object to the in-memory...
void ReloadConfig()
Reload the configuration from file and reconnect to the in-memory DB.
DbInterface & GetDbInterface()
DataContext(const DataContext &)=delete
DataContext & operator=(const DataContext &)=delete
Disable copy constructor.