Joedb 9.1.3
The Journal-Only Embedded Database
|
Client for a read-only file (allows pulling, unlike Readonly_Database) More...
#include <tutorial/Readonly_Client.h>
Public Member Functions | |
Readonly_Client (joedb::File &file) | |
const Database & | get_database () const |
![]() | |
Client (Readonly_Journal &journal, Connection &connection, bool content_check=true) | |
bool | is_readonly () const |
const Readonly_Journal & | get_journal () const |
int64_t | get_checkpoint () const |
std::string | read_blob_data (Blob blob) const |
int64_t | get_server_checkpoint () const |
int64_t | get_checkpoint_difference () const |
int64_t | pull (std::chrono::milliseconds wait=std::chrono::milliseconds(0)) |
void | push_unlock () |
virtual | ~Client () |
Protected Member Functions | |
virtual void | read_journal () override |
![]() | |
template<typename F > | |
void | transaction (F transaction) |
Definition at line 38 of file Readonly_Client.h.
|
inline |
Definition at line 54 of file Readonly_Client.h.
|
inline |
Definition at line 66 of file Readonly_Client.h.
|
inlineoverrideprotectedvirtual |
Implements joedb::Client.
Definition at line 46 of file Readonly_Client.h.