| 
    rippled
    
   | 
 
Database persistence for PeerFinder using SQLite. More...
#include <StoreSqdb.h>


Public Types | |
| enum | { currentSchemaVersion = 4 } | 
| using | load_callback = std::function< void(beast::IP::Endpoint, int)> | 
Public Member Functions | |
| StoreSqdb (beast::Journal journal=beast::Journal{beast::Journal::getNullSink()}) | |
| ~StoreSqdb () | |
| void | open (BasicConfig const &config) | 
| std::size_t | load (load_callback const &cb) override | 
| void | save (std::vector< Entry > const &v) override | 
| void | update () | 
Private Member Functions | |
| void | init (BasicConfig const &config) | 
Private Attributes | |
| beast::Journal | m_journal | 
| soci::session | m_sqlDb | 
Database persistence for PeerFinder using SQLite.
Definition at line 12 of file StoreSqdb.h.
      
  | 
  inherited | 
| anonymous enum | 
| Enumerator | |
|---|---|
| currentSchemaVersion | |
Definition at line 19 of file StoreSqdb.h.
      
  | 
  explicit | 
Definition at line 24 of file StoreSqdb.h.
| ripple::PeerFinder::StoreSqdb::~StoreSqdb | ( | ) | 
Definition at line 30 of file StoreSqdb.h.
| void ripple::PeerFinder::StoreSqdb::open | ( | BasicConfig const & | config | ) | 
Definition at line 35 of file StoreSqdb.h.
      
  | 
  overridevirtual | 
Implements ripple::PeerFinder::Store.
Definition at line 44 of file StoreSqdb.h.
      
  | 
  overridevirtual | 
Implements ripple::PeerFinder::Store.
Definition at line 70 of file StoreSqdb.h.
| void ripple::PeerFinder::StoreSqdb::update | ( | ) | 
Definition at line 78 of file StoreSqdb.h.
      
  | 
  private | 
Definition at line 85 of file StoreSqdb.h.
      
  | 
  private | 
Definition at line 15 of file StoreSqdb.h.
      
  | 
  private | 
Definition at line 16 of file StoreSqdb.h.