|
LogCabin
|
Public Member Functions | |
| Sync (uint64_t lastIndex) | |
| void | wait () |
| Wait for the log entries to be durable. | |
Public Attributes | |
| std::vector< std::pair< int, bool > > | fds |
| Set of file descriptors that are fsynced and closed on wait(). | |
Definition at line 38 of file SimpleFileLog.h.
| LogCabin::Storage::SimpleFileLog::Sync::Sync | ( | uint64_t | lastIndex | ) | [explicit] |
Reimplemented from LogCabin::Storage::Log::Sync.
Definition at line 115 of file SimpleFileLog.cc.
| void LogCabin::Storage::SimpleFileLog::Sync::wait | ( | ) | [virtual] |
Wait for the log entries to be durable.
This is safe to call while the Log is being accessed and modified from a separate thread. PANICs on errors.
Reimplemented from LogCabin::Storage::Log::Sync.
Definition at line 122 of file SimpleFileLog.cc.
| std::vector<std::pair<int, bool> > LogCabin::Storage::SimpleFileLog::Sync::fds |
Set of file descriptors that are fsynced and closed on wait().
If the bool is true, close it too.
Definition at line 46 of file SimpleFileLog.h.
1.7.6.1