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

Method readValue

fdbserver/KeyValueStoreSQLite.actor.cpp:2229–2235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2227 return f;
2228}
2229Future<Optional<Value>> KeyValueStoreSQLite::readValue(KeyRef key, IKeyValueStore::ReadType, Optional<UID> debugID) {
2230 ++readsRequested;
2231 auto p = new Reader::ReadValueAction(key, debugID);
2232 auto f = p->result.getFuture();
2233 readThreads->post(p);
2234 return f;
2235}
2236Future<Optional<Value>> KeyValueStoreSQLite::readValuePrefix(KeyRef key,
2237 int maxLength,
2238 IKeyValueStore::ReadType,

Callers 15

getGenerationMethod · 0.45
getMethod · 0.45
registeredMethod · 0.45
getLastSeenVersionMethod · 0.45
initializeMethod · 0.45
Future<Void> KVFileCheckFunction · 0.45

Calls 2

getFutureMethod · 0.45
postMethod · 0.45

Tested by

no test coverage detected