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 110 of file RockRebuild.cc.
Member Enumeration Documentation
◆ State
Enumerator | |
---|---|
leEmpty | |
leLoading | |
leLoaded | |
leCorrupted | |
leIgnored |
Definition at line 119 of file RockRebuild.cc.
Constructor & Destructor Documentation
◆ LoadingEntry()
Rock::LoadingEntry::LoadingEntry | ( | const sfileno | fileNo, |
LoadingParts & | source | ||
) |
Definition at line 199 of file RockRebuild.cc.
Member Function Documentation
◆ anchored() [1/2]
|
inline |
Definition at line 126 of file RockRebuild.cc.
References Rock::LoadingFlags::anchored, and flags.
Referenced by Rock::Rebuild::addSlotToEntry().
◆ anchored() [2/2]
|
inline |
Definition at line 127 of file RockRebuild.cc.
References Rock::LoadingFlags::anchored, and flags.
◆ state() [1/2]
|
inline |
Definition at line 122 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 123 of file RockRebuild.cc.
References flags, and Rock::LoadingFlags::state.
Member Data Documentation
◆ flags
|
private |
Definition at line 130 of file RockRebuild.cc.
Referenced by anchored(), and state().
◆ size
uint64_t& Rock::LoadingEntry::size |
Definition at line 115 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 116 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
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products