Joedb 10.0.1
The Journal-Only Embedded Database
|
Client for a read-only file (allows pulling, unlike Readonly_Database) More...
#include <settings/Readonly_Client.h>
Public Member Functions | |
Readonly_Client (joedb::Buffered_File &file) | |
const Database & | get_database () const |
![]() | |
Readonly_Client (Buffered_File &file, Connection &connection, Content_Check content_check=Content_Check::fast, Recovery recovery=Recovery::none) | |
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 |
![]() | |
void | reset_context () |
Type | read_type () |
std::string | safe_read_string () |
Readonly_Journal (Journal_Construction_Lock &lock) | |
Readonly_Journal (Journal_Construction_Lock &&lock) | |
Readonly_Journal (Buffered_File &file) | |
int64_t | get_position () const |
int64_t | get_checkpoint () const |
int64_t | get_hard_checkpoint () const |
bool | is_empty () const |
bool | is_shared () const |
int64_t | pull () |
const Buffered_File & | get_file () const |
void | replay_log (Writable &writable) |
void | replay_with_checkpoint_comments (Writable &writable) |
void | rewind () |
void | one_step (Writable &writable) |
void | play_until (Writable &writable, int64_t end) |
void | raw_play_until (Writable &writable, int64_t end) |
void | play_until_checkpoint (Writable &writable) |
void | raw_play_until_checkpoint (Writable &writable) |
void | skip_directly_to (int64_t position) |
bool | equal_to (Readonly_Journal &journal, int64_t from, int64_t until) const |
Async_Reader | get_async_tail_reader (int64_t start_position) const |
Async_Reader | get_async_reader (int64_t start_position, int64_t until_position) const |
![]() | |
int64_t | push (Unlock_Action unlock_action) |
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 () |
Definition at line 21 of file Readonly_Client.h.
|
inline |
Definition at line 36 of file Readonly_Client.h.
|
inline |
Definition at line 50 of file Readonly_Client.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from joedb::Client.
Definition at line 28 of file Readonly_Client.h.