Joedb 9.5.0
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 |
![]() | |
Readonly_Client (Readonly_Journal &journal, Connection &connection, Content_Check content_check=Content_Check::quick) | |
int64_t | pull (std::chrono::milliseconds wait=std::chrono::milliseconds(0)) override |
int64_t | push_if_ahead () override |
~Readonly_Client () override | |
![]() | |
Client (Readonly_Journal &journal, Connection &connection, Content_Check content_check) | |
const Readonly_Journal & | get_journal () const |
bool | is_shared () const |
bool | is_pullonly () const |
int64_t | get_journal_checkpoint () const |
std::string | read_blob (Blob blob) const |
int64_t | get_connection_checkpoint () const |
int64_t | get_checkpoint_difference () const |
virtual | ~Client () |
Protected Member Functions | |
virtual void | read_journal () override |
![]() | |
int64_t | push (Unlock_Action unlock_action) |
Additional Inherited Members | |
![]() | |
Readonly_Journal & | journal |
Connection & | connection |
int64_t | connection_checkpoint |
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 |
Reimplemented from joedb::Client.
Definition at line 46 of file Readonly_Client.h.