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

Method remove

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

Source from the content-addressed store, hash-verified

1144
1145template <typename AllocatorT>
1146bool ObjectCache<AllocatorT>::remove(folly::StringPiece key) {
1147 removes_.inc();
1148 return this->l1Cache_->remove(key) == AllocatorT::RemoveRes::kSuccess;
1149}
1150
1151template <typename AllocatorT>
1152bool ObjectCache<AllocatorT>::isKeyValid(Key key) const {

Callers 4

~ObjectCacheMethod · 0.45
testUniqueInsertMethod · 0.45

Calls 1

incMethod · 0.45

Tested by 3

testUniqueInsertMethod · 0.36