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

Method readRange

fdbserver/KeyValueStoreSQLite.actor.cpp:2246–2255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2244 return f;
2245}
2246Future<RangeResult> KeyValueStoreSQLite::readRange(KeyRangeRef keys,
2247 int rowLimit,
2248 int byteLimit,
2249 IKeyValueStore::ReadType) {
2250 ++readsRequested;
2251 auto p = new Reader::ReadRangeAction(keys, rowLimit, byteLimit);
2252 auto f = p->result.getFuture();
2253 readThreads->post(p);
2254 return f;
2255}
2256Future<KeyValueStoreSQLite::SpringCleaningWorkPerformed> KeyValueStoreSQLite::doClean() {
2257 ++writesRequested;
2258 auto p = new Writer::SpringCleaningAction;

Calls 2

getFutureMethod · 0.45
postMethod · 0.45

Tested by

no test coverage detected