|
Squid Web Cache master
|
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 | |
| bool | started () const |
| whether we have worked on indexing this(these) cache_dir(s) before | |
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 | |
| timeval | startTime = {} |
| absolute time when the rebuild was initiated | |
Definition at line 19 of file store_rebuild.h.
|
inline |
Definition at line 26 of file store_rebuild.h.
References startTime.
Referenced by storeRebuildComplete(), and updateStartTime().
| void StoreRebuildData::updateStartTime | ( | const timeval & | dirStartTime | ) |
Definition at line 46 of file store_rebuild.cc.
References started(), and startTime.
Referenced by Fs::Ufs::RebuildState::RebuildState(), Rock::Rebuild::start(), and storeRebuildComplete().
| int StoreRebuildData::bad_log_op = 0 |
Definition at line 39 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
| int StoreRebuildData::badflags = 0 |
Definition at line 38 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::rebuildFromSwapLog(), storeRebuildComplete(), and storeRebuildParseEntry().
| int StoreRebuildData::cancelcount = 0 |
Definition at line 36 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
| 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().
| int StoreRebuildData::dupcount = 0 |
Definition at line 35 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::addIfFresh(), storeRebuildComplete(), and Rock::Rebuild::useNewSlot().
| int StoreRebuildData::expcount = 0 |
Definition at line 32 of file store_rebuild.h.
Referenced by storeRebuildComplete().
| int StoreRebuildData::invalid = 0 |
Definition at line 37 of file store_rebuild.h.
Referenced by Rock::Rebuild::freeSlot(), Fs::Ufs::RebuildState::rebuildFromSwapLog(), and storeRebuildComplete().
| int StoreRebuildData::objcount = 0 |
Definition at line 31 of file store_rebuild.h.
Referenced by Fs::Ufs::RebuildState::addIfFresh(), Rock::Rebuild::finalizeOrThrow(), and storeRebuildComplete().
| 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().
| timeval StoreRebuildData::startTime = {} |
Definition at line 42 of file store_rebuild.h.
Referenced by started(), storeRebuildComplete(), and updateStartTime().
| 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().
| int StoreRebuildData::zero_object_sz = 0 |
Definition at line 40 of file store_rebuild.h.
Referenced by storeRebuildComplete().