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

Method getCurrentEntriesLimit

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

Get the current L1 entries number limit.

Source from the content-addressed store, hash-verified

434
435 // Get the current L1 entries number limit.
436 size_t getCurrentEntriesLimit() const {
437 return sizeController_ == nullptr
438 ? config_.l1EntriesLimit
439 : sizeController_->getCurrentEntriesLimit();
440 }
441
442 // Get the current total object size limit used by the size controller.
443 size_t getTotalObjectSizeLimit() const {

Callers 2

TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36