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

Method check

bindings/java/JavaWorkload.cpp:589–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587 }
588 }
589 void check(FDBDatabase* db, GenericPromise<bool> done) override {
590 if (failed) {
591 done.send(false);
592 return;
593 }
594 try {
595 jvm->callWorkload(workload, db, "check", std::move(done));
596 } catch (JNIError& e) {
597 failed = true;
598 log.trace(error, "CheckFailedWithJNIError", { { "Error", e.toString() }, { "Location", e.location() } });
599 }
600 }
601 void getMetrics(std::vector<FDBPerfMetric>& out) const override { jvm->getMetrics(workload, name, out); }
602};
603

Callers

nothing calls this directly

Calls 6

moveFunction · 0.85
callWorkloadMethod · 0.80
sendMethod · 0.45
traceMethod · 0.45
toStringMethod · 0.45
locationMethod · 0.45

Tested by

no test coverage detected