MCPcopy Create free account
hub / github.com/apple/foundationdb / ~AsyncFileCached

Method ~AsyncFileCached

fdbrpc/AsyncFileCached.actor.cpp:286–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286AsyncFileCached::~AsyncFileCached() {
287 while (!pages.empty()) {
288 auto ok = pages.begin()->second->evict();
289 ASSERT_ABORT(ok);
290 }
291 openFiles.erase(filename);
292}

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.45
evictMethod · 0.45
beginMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected