libfoedus-core
FOEDUS Core Library
|
All blocks that have content start with this header. More...
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>
Public Member Functions | |
void | assert_key_length () const |
![]() | |
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... | |
![]() | |
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 | |
![]() | |
enum | Constants { kFullBlockHeaderMagicWord = 0xDEADBEEF, kFillerBlockHeaderMagicWord = 0x8BADF00D } |
|
inline |
Definition at line 135 of file log_reducer_impl.hpp.
References ASSERT_ND.
uint32_t foedus::snapshot::FullBlockHeader::log_count_ |
Definition at line 130 of file log_reducer_impl.hpp.
Referenced by foedus::snapshot::LogReducerRef::append_log_chunk().
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_ |
Definition at line 129 of file log_reducer_impl.hpp.
Referenced by foedus::snapshot::LogReducerRef::append_log_chunk().