MCPcopy Create free account
hub / github.com/apple/foundationdb / close

Method close

fdbclient/MultiVersionTransaction.actor.cpp:1652–1658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1650}
1651
1652void MultiVersionTenant::TenantState::close() {
1653 MutexHolder holder(tenantLock);
1654 closed = true;
1655 if (tenantUpdater.isValid()) {
1656 tenantUpdater.cancel();
1657 }
1658}
1659
1660// MultiVersionDatabase
1661MultiVersionDatabase::MultiVersionDatabase(MultiVersionApi* api,

Callers

nothing calls this directly

Calls 5

onMainThreadVoidFunction · 0.85
cancelMethod · 0.65
closeMethod · 0.65
clearMethod · 0.65
isValidMethod · 0.45

Tested by

no test coverage detected