Joedb 9.5.0
The Journal-Only Embedded Database
|
#include <joedb/concurrency/Writable_Journal_Client.h>
Public Member Functions | |
Writable_Journal_Client (Buffered_File &file, Connection &connection, Content_Check content_check=Content_Check::quick) | |
template<typename F > | |
auto | transaction (F transaction) |
![]() | |
Writable_Client (Writable_Journal &journal, Connection &connection, Content_Check content_check=Content_Check::quick) | |
void | set_valid_data (bool b) |
Automatically write valid_data at every checkpoint (default = false) | |
void | set_timestamp (bool b) |
Automatically write time stamp at every checkpoint (default = false) | |
void | set_hard_checkpoint (bool b) |
Use hard checkpoints (default = false) | |
int64_t | pull (std::chrono::milliseconds wait=std::chrono::milliseconds(0)) override |
void | pull_push () |
int64_t | push_unlock () |
int64_t | push_if_ahead () 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 | |
void | read_journal () override |
![]() | |
template<typename F > | |
auto | transaction (F transaction) |
![]() | |
int64_t | push (Unlock_Action unlock_action) |
Friends | |
class | Writable_Journal_Client_Lock |
Additional Inherited Members | |
![]() | |
Readonly_Journal & | journal |
Connection & | connection |
int64_t | connection_checkpoint |
Definition at line 21 of file Writable_Journal_Client.h.
|
inline |
Definition at line 34 of file Writable_Journal_Client.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from joedb::Client.
Definition at line 28 of file Writable_Journal_Client.h.
|
inline |
Definition at line 46 of file Writable_Journal_Client.h.
|
friend |
Definition at line 25 of file Writable_Journal_Client.h.