Handle concurrent access to a file with a joedb::Connection.
More...
#include <joedb/concurrency/Client.h>
Definition at line 11 of file Client.h.
◆ Client()
◆ ~Client()
joedb::Client::~Client |
( |
| ) |
|
|
virtualdefault |
◆ get_checkpoint_difference()
int64_t joedb::Client::get_checkpoint_difference |
( |
| ) |
const |
|
inline |
◆ get_connection_checkpoint()
int64_t joedb::Client::get_connection_checkpoint |
( |
| ) |
const |
|
inline |
◆ get_journal()
◆ get_journal_checkpoint()
int64_t joedb::Client::get_journal_checkpoint |
( |
| ) |
const |
|
inline |
◆ is_shared()
bool joedb::Client::is_shared |
( |
| ) |
const |
|
inline |
◆ pull()
virtual int64_t joedb::Client::pull |
( |
std::chrono::milliseconds |
wait = std::chrono::milliseconds(0) | ) |
|
|
pure virtual |
◆ push() [1/2]
virtual int64_t joedb::Client::push |
( |
| ) |
|
|
pure virtual |
◆ push() [2/2]
◆ read_blob()
std::string joedb::Client::read_blob |
( |
Blob |
blob | ) |
const |
|
inline |
◆ read_journal()
virtual void joedb::Client::read_journal |
( |
| ) |
|
|
inlineprotectedvirtual |
Reimplemented in settings::Client, settings::Readonly_Client, tutorial::Client, tutorial::Readonly_Client, joedb::Readonly_Database_Client, joedb::Writable_Database_Client, joedb::Writable_Journal_Client, joedb::db::encoded_file::Client, joedb::db::encoded_file::Readonly_Client, joedb::db::multi_server::Client, joedb::db::multi_server::Readonly_Client, and joedb::Writable_Readonly_Client< Writable >.
Definition at line 14 of file Client.h.
◆ connection
◆ connection_checkpoint
int64_t joedb::Client::connection_checkpoint |
|
protected |
◆ journal
The documentation for this class was generated from the following files:
- /home/rcoulom/repos/joedb/src/joedb/concurrency/Client.h
- /home/rcoulom/repos/joedb/src/joedb/concurrency/Client.cpp