cache_dir indexing statistics shared across same-kid process restarts More...
#include <RockRebuild.h>
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 263 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 257 of file RockRebuild.cc.
References Store::Disk::path, and shm_new.
Referenced by Rock::SwapDirRr::create().
◆ Path()
|
static |
Definition at line 251 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