MCPcopy Create free account
hub / github.com/dhbloo/rapfi / DBClient

Method DBClient

Rapfi/database/dbclient.cpp:476–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476DBClient::DBClient(DBStorage &storage,
477 DBRecordMask recordMask,
478 size_t dbCacheSize,
479 size_t dbRecordCacheSize)
480 : storage(storage)
481 , mask(recordMask)
482 , dbCache(std::max<size_t>(dbCacheSize, 1))
483 , dbRecordCache(std::max<size_t>(dbRecordCacheSize, 1))
484{}
485
486DBClient ::~DBClient()
487{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected