|
Zero
0.1.0
|
Asynchronous writer thread to produce run files on disk. More...
#include <logarchive_writer.h>
Public Member Functions | |
| virtual void | run () |
| ArchiveIndex * | getIndex () |
| void | resetCurrentRun () |
| WriterThread (AsyncRingBuffer *writebuf, ArchiveIndex *index, unsigned level) | |
| virtual | ~WriterThread () |
Public Member Functions inherited from thread_wrapper_t | |
| thread_wrapper_t () | |
| virtual | ~thread_wrapper_t () |
| virtual void | before_run () |
| virtual void | after_run () |
| void | spawn () |
| void | fork () |
| void | join () |
Private Attributes | |
| AsyncRingBuffer * | buf |
| ArchiveIndex * | index |
| lsn_t | maxLSNInRun |
| run_number_t | currentRun |
| unsigned | level |
| PageID | maxPIDInRun |
Asynchronous writer thread to produce run files on disk.
Consumes blocks of data produced by the BlockAssembly component and writes them to the corresponding run files on disk. Metadata on each block is used to control to which run each block belongs and what LSN ranges are contained in each run (see BlockAssembly).
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
virtual |
Implements thread_wrapper_t.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.12