MCPcopy Index your code
hub / github.com/facebook/CacheLib / getNumEntries

Method getNumEntries

cachelib/object_cache/ObjectCache.h:393–395  ·  view source on GitHub ↗

Return the number of objects in cache

Source from the content-addressed store, hash-verified

391
392 // Return the number of objects in cache
393 uint64_t getNumEntries() const {
394 return this->l1Cache_->getAccessContainerNumKeys();
395 }
396
397 // Get direct access to the interal CacheAllocator.
398 // This is only used in tests.

Callers 10

workMethod · 0.45
getCountersMethod · 0.45
TESTFunction · 0.45

Calls 1