|
|
using | notify_type = nl::json |
| |
| | JournalManager () |
| | Constructor. More...
|
| |
|
virtual | ~JournalManager ()=default |
| | Destructor.
|
| |
| static void | setJournalFilename (const std::string &name) |
| | Setters. More...
|
| |
| static void | setJournalAutoMode (bool b) |
| | Set the journal mode. More...
|
| |
|
static void | setJournalEnable (bool m) |
| | Activate or deactivate the journal.
|
| |
| static const std::string & | journalFilename () |
| | Getters. More...
|
| |
|
static nl::json & | journalData () |
| |
| static const bool | journalAutoMode () |
| | Get the current journal mode status. More...
|
| |
| static const bool | journalEnabled () |
| | Get the journal status. More...
|
| |
| static const uint32_type | journalCurrentCheckpoint () |
| | Get the current checkpoint counter. More...
|
| |
| static decltype(auto) | journalSignal () |
| | Get the journal underlying static signal. More...
|
| |
| static notify_type const & | journalPull () |
| | Journal gather/save. More...
|
| |
|
static void | journalSave (std::string const &filename="") |
| | Save the global property tree into a json file.
|
| |
| static void | journalCheckpoint (bool save=true, const std::string &filename="") |
| | Generate a checkpoint. More...
|
| |
|
static void | journalFinalize () |
| | Create the journal.
|
| |
| static void | journalSetDBName (const std::string &dbname="feelpp") |
| | Setters. More...
|
| |
|
static void | journalSetDBHost (const std::string &host="localhost") |
| | Set the mongodb host.
|
| |
|
static void | journalSetDBUsername (const std::string &user="") |
| | Set the mongodb user name.
|
| |
|
static void | journalSetDBPassword (const std::string &password="") |
| | Set the mongodb user password.
|
| |
|
static void | journalSetDBPort (const std::string &port="27017") |
| | Set the mongodb port.
|
| |
|
static void | journalSetDBAuthsrc (const std::string &authsrc="admin") |
| | Set the collection used to authenticate.
|
| |
|
static void | journalSetDBCollection (const std::string &dbname="journal") |
| | Set mongodb collection to use for the journal.
|
| |
|
static void | journalDBConfig (const MongoConfig &mc) |
| | Set mongodb collection to use for the journal.
|
| |
JournalManager that manage the journal system handles all journalWatchers.
- See also
- JournalManager JournalWatcher Environment