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

Method size

fdbserver/workloads/MemoryKeyValueStore.cpp:123–125  ·  view source on GitHub ↗

The number of keys in the database

Source from the content-addressed store, hash-verified

121
122// The number of keys in the database
123uint64_t MemoryKeyValueStore::size() const {
124 return store.size();
125}
126
127// The first key in the database; returned by key selectors that choose a key off the front
128Key MemoryKeyValueStore::startKey() const {

Callers 15

~PoolMethod · 0.45
stopMethod · 0.45
~PoolMethod · 0.45
stopMethod · 0.45
streamingReadClientMethod · 0.45
_startMethod · 0.45
nodeSetupMethod · 0.45
updateProfilerMethod · 0.45
showResultFunction · 0.45
validateRecordFunction · 0.45

Calls

no outgoing calls

Tested by 15

UnitTestWorkloadMethod · 0.36
runUnitTestsMethod · 0.36
_startMethod · 0.36
decodeValueFunction · 0.36
durabilityTestFunction · 0.36
compareRangeResultFunction · 0.36
randomRWKeyRangeFunction · 0.36
randomKeyFunction · 0.36
getRangeResultInOrderFunction · 0.36