Storage Engine API
mongo::dur::JSectHeader Struct Reference

"Section" header. More...

#include <dur_journalformat.h>

Detailed Description

"Section" header.

A section corresponds to a group commit. len is length of the entire section including header and footer. header and footer are not compressed, just the stuff in between.

Public Member Functions

unsigned sectionLen () const
 
void setSectionLen (unsigned lenUnpadded)
 
unsigned sectionLenWithPadding () const
 

Public Attributes

unsigned long long seqNumber
 
unsigned long long fileId
 

Private Attributes

unsigned _sectionLen
 

Member Function Documentation

◆ sectionLen()

unsigned mongo::dur::JSectHeader::sectionLen ( ) const
inline

◆ sectionLenWithPadding()

unsigned mongo::dur::JSectHeader::sectionLenWithPadding ( ) const
inline

◆ setSectionLen()

void mongo::dur::JSectHeader::setSectionLen ( unsigned  lenUnpadded)
inline

Member Data Documentation

◆ _sectionLen

unsigned mongo::dur::JSectHeader::_sectionLen
private

◆ fileId

unsigned long long mongo::dur::JSectHeader::fileId

◆ seqNumber

unsigned long long mongo::dur::JSectHeader::seqNumber

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