19#define STUB_API "stub_store_rebuild.cc"
27 startTime = started() ? std::min(startTime, dirStartTime) : dirStartTime;
#define STUB
macro to stub a void function.
mb_size_t spaceSize() const
char * space()
returns buffer after data; does not check space existence
void appended(mb_size_t sz)
updates content size after external append
void print(std::ostream &os) const
brief progress report suitable for level-0/1 debugging
cache_dir(s) indexing statistics
static int store_dirs_rebuilding
the number of cache_dirs being rebuilt; TODO: move to Disks::Rebuilding
unsigned char cache_key
Store key.
bool storeRebuildParseEntry(MemBuf &buf, StoreEntry &tmpe, cache_key *key, StoreRebuildData &stats, uint64_t expectedSize)
bool storeRebuildLoadEntry(int fd, int, MemBuf &buf, StoreRebuildData &)
loads entry from disk; fills supplied memory buffer on success
void storeRebuildComplete(StoreRebuildData *)
void storeRebuildProgress(int, int, int) STUB bool storeRebuildParseEntry(MemBuf &