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

Method beginLockGroup

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

Lock-group iteration variant. See CacheAllocator::beginLockGroup for the trade-offs vs. the per-bucket AccessIterator. The optional filter is applied to each key under the hash table lock; only matching items have handles created.

Source from the content-addressed store, hash-verified

410 // applied to each key under the hash table lock; only matching items have
411 // handles created.
412 LockGroupAccessIterator beginLockGroup(LockGroupFilterFn filter = {}) {
413 return LockGroupAccessIterator{
414 this->l1Cache_->beginLockGroup(std::move(filter))};
415 }
416
417 LockGroupAccessIterator beginLockGroup(util::Throttler::Config config,
418 LockGroupFilterFn filter = {}) {

Calls

no outgoing calls