cache_dir(s) indexing statistics More...
#include <store_rebuild.h>

Public Member Functions | |
| void | updateStartTime (const timeval &dirStartTime) |
| maintain earliest initiation time across multiple indexing cache_dirs More... | |
| bool | started () const |
| whether we have worked on indexing this(these) cache_dir(s) before More... | |
Public Attributes | |
| int | objcount = 0 |
| int | expcount = 0 |
| int | scancount = 0 |
| int | clashcount = 0 |
| int | dupcount = 0 |
| int | cancelcount = 0 |
| int | invalid = 0 |
| int | badflags = 0 |
| int | bad_log_op = 0 |
| int | zero_object_sz = 0 |
| int64_t | validations = 0 |
| the number of validated cache entries, slots More... | |
| timeval | startTime = {} |
| absolute time when the rebuild was initiated More... | |
Detailed Description
Definition at line 19 of file store_rebuild.h.
Member Function Documentation
◆ started()
|
inline |
Definition at line 26 of file store_rebuild.h.
References startTime.
Referenced by storeRebuildComplete(), and updateStartTime().
◆ updateStartTime()
| void StoreRebuildData::updateStartTime | ( | const timeval & | dirStartTime | ) |
Definition at line 46 of file store_rebuild.cc.
References min(), started(), and startTime.
Referenced by Fs::Ufs::RebuildState::RebuildState(), Rock::Rebuild::start(), and storeRebuildComplete().
Member Data Documentation
◆ bad_log_op
| int StoreRebuildData::bad_log_op = 0 |
Definition at line 39 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
◆ badflags
| int StoreRebuildData::badflags = 0 |
Definition at line 38 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::rebuildFromSwapLog(), storeRebuildComplete(), and storeRebuildParseEntry().
◆ cancelcount
| int StoreRebuildData::cancelcount = 0 |
Definition at line 36 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
◆ clashcount
| int StoreRebuildData::clashcount = 0 |
Definition at line 34 of file store_rebuild.h.
Referenced by Rock::Rebuild::addSlotToEntry(), Fs::Ufs::RebuildState::evictStaleAndContinue(), Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
◆ dupcount
| int StoreRebuildData::dupcount = 0 |
Definition at line 35 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::addIfFresh(), storeRebuildComplete(), and Rock::Rebuild::useNewSlot().
◆ expcount
| int StoreRebuildData::expcount = 0 |
Definition at line 32 of file store_rebuild.h.
Referenced by storeRebuildComplete().
◆ invalid
| int StoreRebuildData::invalid = 0 |
Definition at line 37 of file store_rebuild.h.
Referenced by Rock::Rebuild::freeSlot(), Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
◆ objcount
| int StoreRebuildData::objcount = 0 |
Definition at line 31 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::addIfFresh(), Rock::Rebuild::finalizeOrThrow(), and storeRebuildComplete().
◆ scancount
| int StoreRebuildData::scancount = 0 |
Definition at line 33 of file store_rebuild.h.
Referenced by Rock::Rebuild::Stats::completed(), Rock::Rebuild::loadingSteps(), Rock::Rebuild::loadOneSlot(), Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
◆ startTime
| timeval StoreRebuildData::startTime = {} |
Definition at line 42 of file store_rebuild.h.
Referenced by started(), storeRebuildComplete(), and updateStartTime().
◆ validations
| int64_t StoreRebuildData::validations = 0 |
Definition at line 41 of file store_rebuild.h.
Referenced by Rock::Rebuild::Stats::completed(), storeRebuildComplete(), and Rock::Rebuild::validationSteps().
◆ zero_object_sz
| int StoreRebuildData::zero_object_sz = 0 |
Definition at line 40 of file store_rebuild.h.
Referenced by storeRebuildComplete().
The documentation for this class was generated from the following files:
- src/store_rebuild.h
- src/store_rebuild.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
