| 2227 | return f; |
| 2228 | } |
| 2229 | Future<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 | } |
| 2236 | Future<Optional<Value>> KeyValueStoreSQLite::readValuePrefix(KeyRef key, |
| 2237 | int maxLength, |
| 2238 | IKeyValueStore::ReadType, |
no test coverage detected