![]() |
MySQL 8.0.43
Source Code Documentation
|
For collecting pages to write. More...
Public Types | |
| typedef std::tuple< buf_page_t *, const file::Block * > | Dblwr_tuple |
| using | Pages = std::vector< Dblwr_tuple, ut::allocator< Dblwr_tuple > > |
Public Member Functions | |
| Buf_pages (uint32_t size) | |
| Constructor. More... | |
| void | push_back (buf_page_t *bpage, const file::Block *e_block) noexcept |
| Add a page to the collection. More... | |
| void | clear () noexcept |
| Clear the collection. More... | |
| bool | empty () const noexcept |
| uint32_t | size () const noexcept |
| uint32_t | capacity () const noexcept |
Public Attributes | |
| Pages | m_pages {} |
| Collection of pages. More... | |
| uint32_t | m_size {} |
| Number of live elements. More... | |
For collecting pages to write.
| typedef std::tuple<buf_page_t *, const file::Block *> Double_write::Buf_pages::Dblwr_tuple |
| using Double_write::Buf_pages::Pages = std::vector<Dblwr_tuple, ut::allocator<Dblwr_tuple> > |
|
inlineexplicit |
Constructor.
| [in] | size | Number of pages to reserve. |
|
inlinenoexcept |
|
inlinenoexcept |
Clear the collection.
|
inlinenoexcept |
|
inlinenoexcept |
Add a page to the collection.
| [in] | bpage | Page to write. |
| [in] | e_block | encrypted block. |
|
inlinenoexcept |
| Pages Double_write::Buf_pages::m_pages {} |
Collection of pages.
| uint32_t Double_write::Buf_pages::m_size {} |
Number of live elements.