MySQL 9.1.0
Source Code Documentation
|
Page archiver in memory data. More...
#include <arch0arch.h>
Public Member Functions | |
ArchPageData ()=default | |
Constructor. More... | |
bool | init () |
Allocate buffer and initialize blocks. More... | |
void | clean () |
Delete blocks and buffer. More... | |
Arch_Block * | get_block (Arch_Page_Pos *pos, Arch_Blk_Type type) |
Get the block for a position. More... | |
Arch_Block * | get_partial_flush_block () const |
Public Attributes | |
Arch_Block_Vec | m_data_blocks {} |
Vector of data blocks. More... | |
Arch_Block * | m_reset_block {nullptr} |
Reset block. More... | |
Arch_Block * | m_partial_flush_block {nullptr} |
Temporary block used to copy active block for partial flush. More... | |
uint | m_block_size {} |
Block size in bytes. More... | |
uint | m_num_data_blocks {} |
Total number of blocks. More... | |
byte * | m_buffer {nullptr} |
In memory buffer. More... | |
Page archiver in memory data.
|
default |
Constructor.
void ArchPageData::clean | ( | ) |
Delete blocks and buffer.
Arch_Block * ArchPageData::get_block | ( | Arch_Page_Pos * | pos, |
Arch_Blk_Type | type | ||
) |
Get the block for a position.
[in] | pos | position in page archive sys |
[in] | type | block type |
|
inline |
bool ArchPageData::init | ( | void | ) |
Allocate buffer and initialize blocks.
uint ArchPageData::m_block_size {} |
Block size in bytes.
Arch_Block_Vec ArchPageData::m_data_blocks {} |
Vector of data blocks.
uint ArchPageData::m_num_data_blocks {} |
Total number of blocks.
Arch_Block* ArchPageData::m_partial_flush_block {nullptr} |
Temporary block used to copy active block for partial flush.
Arch_Block* ArchPageData::m_reset_block {nullptr} |
Reset block.