Joedb 9.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
joedb::Readonly_Database_Client Class Reference

#include <joedb/concurrency/Readonly_Database_Client.h>

Inheritance diagram for joedb::Readonly_Database_Client:
Inheritance graph
[legend]
Collaboration diagram for joedb::Readonly_Database_Client:
Collaboration graph
[legend]

Public Member Functions

 Readonly_Database_Client (Buffered_File &file, Connection &connection, Content_Check content_check=Content_Check::quick)
 
const Databaseget_database () const
 
- Public Member Functions inherited from joedb::Readonly_Client
 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
 
- Public Member Functions inherited from joedb::Client
 Client (Readonly_Journal &journal, Connection &connection, Content_Check content_check)
 
const Readonly_Journalget_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
 
- Protected Member Functions inherited from joedb::Client
int64_t push (Unlock_Action unlock_action)
 

Additional Inherited Members

- Protected Attributes inherited from joedb::Client
Readonly_Journaljournal
 
Connectionconnection
 
int64_t connection_checkpoint
 

Detailed Description

Definition at line 26 of file Readonly_Database_Client.h.

Constructor & Destructor Documentation

◆ Readonly_Database_Client()

joedb::Readonly_Database_Client::Readonly_Database_Client ( Buffered_File file,
Connection connection,
Content_Check  content_check = Content_Check::quick 
)
inline

Definition at line 37 of file Readonly_Database_Client.h.

Member Function Documentation

◆ get_database()

const Database & joedb::Readonly_Database_Client::get_database ( ) const
inline

Definition at line 49 of file Readonly_Database_Client.h.

◆ read_journal()

void joedb::Readonly_Database_Client::read_journal ( )
inlineoverrideprotectedvirtual

Reimplemented from joedb::Client.

Definition at line 31 of file Readonly_Database_Client.h.


The documentation for this class was generated from the following file: