|
Joedb 10.3.0
The Journal-Only Embedded Database
|
#include <joedb/concurrency/Writable_Journal_Client.h>


Public Member Functions | |
| Writable_Journal_Client_Lock (Writable_Journal_Client &client) | |
| Writable_Journal & | get_journal () |
Public Member Functions inherited from joedb::Client_Lock | |
| Client_Lock (Writable_Client &client) | |
| Client_Lock (const Client_Lock &)=delete | |
| Client_Lock & | operator= (const Client_Lock &)=delete |
| void | do_checkpoint () |
| Checkpoint current journal, but do not push yet. | |
| void | push_if_ahead () |
| Push if the journal checkpoint is ahead of the connection checkpoint. | |
| void | checkpoint_and_push () |
| Checkpoint current journal, and push to the connection. | |
| void | checkpoint_and_push_unlock () |
| Confirm the transaction right before lock destruction. | |
| void | unlock () |
| Cancel the transaction right before lock destruction. | |
| ~Client_Lock () | |
| The destructor unlocks the connection if necessary. | |
Additional Inherited Members | |
Protected Attributes inherited from joedb::Client_Lock | |
| Writable_Client & | client |
| const Tail_Exclusive_Lock | journal_lock |
| bool | locked |
Definition at line 64 of file Writable_Journal_Client.h.
|
inline |
Definition at line 67 of file Writable_Journal_Client.h.
|
inline |
Definition at line 72 of file Writable_Journal_Client.h.