libfoedus-core
FOEDUS Core Library
foedus::snapshot::FullBlockHeader Struct Reference

All blocks that have content start with this header. More...

Detailed Description

All blocks that have content start with this header.

Either that's an in-memory block or a block in dumped file, we use this header.

Definition at line 128 of file log_reducer_impl.hpp.

#include <log_reducer_impl.hpp>

Inheritance diagram for foedus::snapshot::FullBlockHeader:
Collaboration diagram for foedus::snapshot::FullBlockHeader:

Public Member Functions

void assert_key_length () const
 
- Public Member Functions inherited from foedus::snapshot::BlockHeaderBase
bool is_full_block () const
 
bool is_filler () const
 

Public Attributes

storage::StorageId storage_id_
 
uint32_t log_count_
 
uint32_t shortest_key_length_
 additional statistics for masstree/hash More...
 
uint32_t longest_key_length_
 additional statistics for masstree/hash More...
 
- Public Attributes inherited from foedus::snapshot::BlockHeaderBase
uint32_t magic_word_
 This is used to identify the storage block is a dummy (filler) one or a full one. More...
 
BufferPosition block_length_
 Length (in 8-bytes) of this block including the header. More...
 

Additional Inherited Members

- Public Types inherited from foedus::snapshot::BlockHeaderBase
enum  Constants { kFullBlockHeaderMagicWord = 0xDEADBEEF, kFillerBlockHeaderMagicWord = 0x8BADF00D }
 

Member Function Documentation

void foedus::snapshot::FullBlockHeader::assert_key_length ( ) const
inline

Definition at line 135 of file log_reducer_impl.hpp.

References ASSERT_ND.

135  {
138  }
uint32_t longest_key_length_
additional statistics for masstree/hash
#define ASSERT_ND(x)
A warning-free wrapper macro of assert() that has no performance effect in release mode even when 'x'...
Definition: assert_nd.hpp:72
uint32_t shortest_key_length_
additional statistics for masstree/hash

Member Data Documentation

uint32_t foedus::snapshot::FullBlockHeader::log_count_
uint32_t foedus::snapshot::FullBlockHeader::longest_key_length_

additional statistics for masstree/hash

Definition at line 134 of file log_reducer_impl.hpp.

Referenced by foedus::snapshot::LogReducerRef::append_log_chunk().

uint32_t foedus::snapshot::FullBlockHeader::shortest_key_length_

additional statistics for masstree/hash

Definition at line 132 of file log_reducer_impl.hpp.

Referenced by foedus::snapshot::LogReducerRef::append_log_chunk().

storage::StorageId foedus::snapshot::FullBlockHeader::storage_id_

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