MCPcopy Create free account
hub / github.com/facebook/CacheLib / reset

Method reset

cachelib/navy/block_cache/BlockCache.cpp:1457–1461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1455}
1456
1457void BlockCache::reset() {
1458 XLOG(INFO, "Reset block cache");
1459 index_->reset();
1460 initializeBlockCache();
1461}
1462
1463void BlockCache::initializeBlockCache() {
1464 // Allocator resets region manager

Callers 3

removeMethod · 0.45
readEntryMethod · 0.45
initializeBlockCacheMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected