smart StoreEntry-level info pointer (hides anti-padding LoadingParts arrays) More...

Public Types | |
| enum | State { leEmpty = 0 , leLoading , leLoaded , leCorrupted , leIgnored } |
| possible store entry states during index rebuild More... | |
Public Member Functions | |
| LoadingEntry (const sfileno fileNo, LoadingParts &source) | |
| State | state () const |
| void | state (State aState) const |
| bool | anchored () const |
| void | anchored (const bool beAnchored) |
Public Attributes | |
| uint64_t & | size |
| payload seen so far More... | |
| uint32_t & | version |
| DbCellHeader::version to distinguish same-URL chains. More... | |
Private Attributes | |
| LoadingFlags & | flags |
| entry flags (see the above accessors) are ours More... | |
Detailed Description
Definition at line 109 of file RockRebuild.cc.
Member Enumeration Documentation
◆ State
| Enumerator | |
|---|---|
| leEmpty | |
| leLoading | |
| leLoaded | |
| leCorrupted | |
| leIgnored | |
Definition at line 118 of file RockRebuild.cc.
Constructor & Destructor Documentation
◆ LoadingEntry()
| Rock::LoadingEntry::LoadingEntry | ( | const sfileno | fileNo, |
| LoadingParts & | source | ||
| ) |
Definition at line 198 of file RockRebuild.cc.
Member Function Documentation
◆ anchored() [1/2]
|
inline |
Definition at line 125 of file RockRebuild.cc.
References Rock::LoadingFlags::anchored, and flags.
Referenced by Rock::Rebuild::addSlotToEntry().
◆ anchored() [2/2]
|
inline |
Definition at line 126 of file RockRebuild.cc.
References Rock::LoadingFlags::anchored, and flags.
◆ state() [1/2]
|
inline |
Definition at line 121 of file RockRebuild.cc.
References flags, and Rock::LoadingFlags::state.
Referenced by Rock::Rebuild::finalizeOrThrow(), Rock::Rebuild::freeBadEntry(), Rock::Rebuild::primeNewEntry(), Rock::Rebuild::startNewEntry(), Rock::Rebuild::useNewSlot(), and Rock::Rebuild::validateOneEntry().
◆ state() [2/2]
|
inline |
Definition at line 122 of file RockRebuild.cc.
References flags, and Rock::LoadingFlags::state.
Member Data Documentation
◆ flags
|
private |
Definition at line 129 of file RockRebuild.cc.
Referenced by anchored(), and state().
◆ size
| uint64_t& Rock::LoadingEntry::size |
Definition at line 114 of file RockRebuild.cc.
Referenced by Rock::Rebuild::addSlotToEntry(), Rock::Rebuild::finalizeOrThrow(), Rock::Rebuild::freeBadEntry(), and Rock::Rebuild::primeNewEntry().
◆ version
| uint32_t& Rock::LoadingEntry::version |
Definition at line 115 of file RockRebuild.cc.
Referenced by Rock::Rebuild::primeNewEntry().
The documentation for this class was generated from the following file:
- src/fs/rock/RockRebuild.cc
