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

Method getNumPlaceholders

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

Returns the total number of placeholders

Source from the content-addressed store, hash-verified

650
651 // Returns the total number of placeholders
652 size_t getNumPlaceholders() const { return placeholders_.size(); }
653
654 // Get a ReadHandle reference from the object shared_ptr
655 template <typename T>

Callers 3

getCountersMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected