Zero  0.1.0
Public Member Functions | Private Attributes | List of all members
SprIterator Class Reference

#include <restart.h>

Public Member Functions

 SprIterator ()
 
 ~SprIterator ()
 
void open (PageID pid, lsn_t firstLSN, lsn_t lastLSN, bool prioritizeArchive=true)
 
bool next (logrec_t *&lr)
 
void apply (fixable_page_h &page)
 

Private Attributes

char * buffer
 
size_t buffer_capacity
 
std::vector< uint32_t > lr_offsets
 
std::vector< uint32_t >::const_reverse_iterator lr_iter
 
ArchiveScan archive_scan
 
lsn_t last_lsn
 
unsigned replayed_count
 

Constructor & Destructor Documentation

§ SprIterator()

SprIterator::SprIterator ( )

§ ~SprIterator()

SprIterator::~SprIterator ( )

Member Function Documentation

§ apply()

void SprIterator::apply ( fixable_page_h page)

§ next()

bool SprIterator::next ( logrec_t *&  lr)

§ open()

void SprIterator::open ( PageID  pid,
lsn_t  firstLSN,
lsn_t  lastLSN,
bool  prioritizeArchive = true 
)

Member Data Documentation

§ archive_scan

ArchiveScan SprIterator::archive_scan
private

§ buffer

char* SprIterator::buffer
private

§ buffer_capacity

size_t SprIterator::buffer_capacity
private

§ last_lsn

lsn_t SprIterator::last_lsn
private

§ lr_iter

std::vector<uint32_t>::const_reverse_iterator SprIterator::lr_iter
private

§ lr_offsets

std::vector<uint32_t> SprIterator::lr_offsets
private

§ replayed_count

unsigned SprIterator::replayed_count
private

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