cache_dir indexing statistics shared across same-kid process restarts More...
#include <RockRebuild.h>
![Collaboration graph](classRock_1_1Rebuild_1_1Stats__coll__graph.png)
Public Member Functions | |
size_t | sharedMemorySize () const |
bool | completed (const SwapDir &) const |
whether the rebuild is finished already More... | |
Static Public Member Functions | |
static SBuf | Path (const char *dirPath) |
static Ipc::Mem::Owner< Stats > * | Init (const SwapDir &) |
static size_t | SharedMemorySize () |
Public Attributes | |
StoreRebuildData | counts |
Detailed Description
Definition at line 36 of file RockRebuild.h.
Member Function Documentation
◆ completed()
bool Rock::Rebuild::Stats::completed | ( | const SwapDir & | dir | ) | const |
Definition at line 264 of file RockRebuild.cc.
References counts, Rock::DoneLoading(), Rock::DoneValidating(), Rock::SwapDir::entryLimitActual(), StoreRebuildData::scancount, Rock::SwapDir::slotLimitActual(), and StoreRebuildData::validations.
◆ Init()
|
static |
Definition at line 258 of file RockRebuild.cc.
References Store::Disk::path, and shm_new.
Referenced by Rock::SwapDirRr::create().
◆ Path()
|
static |
Definition at line 252 of file RockRebuild.cc.
References Ipc::Mem::Segment::Name().
◆ SharedMemorySize()
|
inlinestatic |
Definition at line 42 of file RockRebuild.h.
References Mem::Stats().
Referenced by sharedMemorySize().
◆ sharedMemorySize()
|
inline |
Definition at line 43 of file RockRebuild.h.
References SharedMemorySize().
Member Data Documentation
◆ counts
StoreRebuildData Rock::Rebuild::Stats::counts |
Definition at line 48 of file RockRebuild.h.
The documentation for this class was generated from the following files:
- src/fs/rock/RockRebuild.h
- 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