During an update, the stored entry has two editions: stale and fresh. More...
#include <StoreMap.h>
Public Member Functions | |
Edition () | |
operator bool () const | |
whether this entry edition is currently used/initialized More... | |
Public Attributes | |
StoreMapAnchor * | anchor |
StoreMap::anchors[fileNo], for convenience/speed. More... | |
sfileno | fileNo |
StoreMap::fileNos[name], for convenience/speed. More... | |
sfileno | name |
StoreEntry position in StoreMap::fileNos, for swapping Editions. More... | |
StoreMapSliceId | splicingPoint |
the last slice in the chain still containing metadata/headers More... | |
Detailed Description
Definition at line 185 of file StoreMap.h.
Constructor & Destructor Documentation
◆ Edition()
|
inline |
Definition at line 188 of file StoreMap.h.
Member Function Documentation
◆ operator bool()
|
inlineexplicit |
Definition at line 191 of file StoreMap.h.
References anchor.
Member Data Documentation
◆ anchor
StoreMapAnchor* Ipc::StoreMapUpdate::Edition::anchor |
Definition at line 193 of file StoreMap.h.
Referenced by Ipc::StoreMap::abortUpdating(), Ipc::StoreMap::closeForUpdating(), Rock::SwapDir::createUpdateIO(), Ipc::StoreMap::openForUpdating(), Ipc::StoreMap::openKeyless(), operator bool(), and MemStore::updateHeadersOrThrow().
◆ fileNo
sfileno Ipc::StoreMapUpdate::Edition::fileNo |
Definition at line 194 of file StoreMap.h.
Referenced by Ipc::StoreMap::abortUpdating(), Ipc::StoreMap::closeForUpdating(), Rock::SwapDir::createUpdateIO(), Ipc::StoreMap::openForUpdating(), Ipc::StoreMap::openKeyless(), and MemStore::updateHeadersOrThrow().
◆ name
sfileno Ipc::StoreMapUpdate::Edition::name |
Definition at line 195 of file StoreMap.h.
Referenced by Ipc::StoreMap::closeForUpdating(), Ipc::StoreMap::openForUpdating(), and Ipc::StoreMap::openKeyless().
◆ splicingPoint
StoreMapSliceId Ipc::StoreMapUpdate::Edition::splicingPoint |
Definition at line 198 of file StoreMap.h.
Referenced by Ipc::StoreMap::closeForUpdating(), and MemStore::updateHeadersOrThrow().
The documentation for this class was generated from the following file:
- src/ipc/StoreMap.h