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

Method remove

cachelib/navy/driver/Driver.cpp:231–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231Status Driver::remove(HashedKey hk) {
232 return enginePairs_[selectEnginePair(hk)].removeSync(hk);
233}
234
235void Driver::removeAsync(HashedKey hk, RemoveCallback cb) {
236 enginePairs_[selectEnginePair(hk)].scheduleRemove(hk, std::move(cb));

Callers 1

TESTFunction · 0.45

Calls 1

removeSyncMethod · 0.80

Tested by 1

TESTFunction · 0.36