|
Joedb 10.2.3
The Journal-Only Embedded Database
|
Client for a read-only file (allows pulling, unlike Readonly_Database) More...
#include <tutorial/rpc/population/Readonly_Client.h>


Public Member Functions | |
| Readonly_Client (joedb::Abstract_File &file) | |
| const Database & | get_database () const |
Public Member Functions inherited from joedb::Readonly_Client | |
| Readonly_Client (Abstract_File &file, Connection &connection=Connection::dummy, 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 (int64_t until) override |
| ~Readonly_Client () override | |
Public Member Functions inherited from joedb::Client | |
| 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 |
| int64_t | push_if_ahead () |
| virtual | ~Client () |
Protected Member Functions | |
| virtual void | read_journal () override |
Protected Member Functions inherited from joedb::Readonly_Journal | |
| 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 (Abstract_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 Abstract_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 |
Protected Member Functions inherited from joedb::Client | |
| int64_t | push (int64_t until, Unlock_Action unlock_action) |
| 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 |
| int64_t | push_if_ahead () |
| 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.