rippled
|
Public Member Functions | |
SavedStateDB () | |
void | init (BasicConfig const &config, std::string const &dbName) |
LedgerIndex | getCanDelete () |
LedgerIndex | setCanDelete (LedgerIndex canDelete) |
SavedState | getState () |
void | setState (SavedState const &state) |
void | setLastRotated (LedgerIndex seq) |
Public Attributes | |
soci::session | sqlDb_ |
std::mutex | mutex_ |
const beast::Journal | journal_ |
Definition at line 43 of file SHAMapStoreImp.h.
|
explicit |
Definition at line 52 of file SHAMapStoreImp.h.
void ripple::SHAMapStoreImp::SavedStateDB::init | ( | BasicConfig const & | config, |
std::string const & | dbName | ||
) |
Definition at line 37 of file SHAMapStoreImp.cpp.
LedgerIndex ripple::SHAMapStoreImp::SavedStateDB::getCanDelete | ( | ) |
Definition at line 46 of file SHAMapStoreImp.cpp.
LedgerIndex ripple::SHAMapStoreImp::SavedStateDB::setCanDelete | ( | LedgerIndex | canDelete | ) |
Definition at line 54 of file SHAMapStoreImp.cpp.
SavedState ripple::SHAMapStoreImp::SavedStateDB::getState | ( | ) |
Definition at line 62 of file SHAMapStoreImp.cpp.
void ripple::SHAMapStoreImp::SavedStateDB::setState | ( | SavedState const & | state | ) |
Definition at line 70 of file SHAMapStoreImp.cpp.
void ripple::SHAMapStoreImp::SavedStateDB::setLastRotated | ( | LedgerIndex | seq | ) |
Definition at line 77 of file SHAMapStoreImp.cpp.
soci::session ripple::SHAMapStoreImp::SavedStateDB::sqlDb_ |
Definition at line 46 of file SHAMapStoreImp.h.
std::mutex ripple::SHAMapStoreImp::SavedStateDB::mutex_ |
Definition at line 47 of file SHAMapStoreImp.h.
const beast::Journal ripple::SHAMapStoreImp::SavedStateDB::journal_ |
Definition at line 48 of file SHAMapStoreImp.h.