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

Method getTotalObjectSize

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

Get the total size of all cached objects in bytes.

Source from the content-addressed store, hash-verified

429
430 // Get the total size of all cached objects in bytes.
431 size_t getTotalObjectSize() const {
432 return totalObjectSizeBytes_.load(std::memory_order_relaxed);
433 }
434
435 // Get the current L1 entries number limit.
436 size_t getCurrentEntriesLimit() const {

Calls

no outgoing calls