NodeStore improvements:

* Add Backend::verify API for doing consistency checks
* Add Database::close so caller can catch exceptions
* Improved Timing test for NodeStore creates a simulated workload
This commit is contained in:
Vinnie Falco
2015-01-12 11:12:20 -08:00
committed by Edward Hennis
parent 67b9cf9e82
commit 749e083e6e
26 changed files with 967 additions and 441 deletions

View File

@@ -85,6 +85,13 @@ public:
return getWritableBackend()->getName();
}
void
close() override
{
// VFALCO TODO How do we close everything?
assert(false);
}
std::int32_t getWriteLoad() const override
{
return getWritableBackend()->getWriteLoad();