MCPcopy Create free account
hub / github.com/apple/foundationdb / ~JavaWorkload

Method ~JavaWorkload

bindings/java/JavaWorkload.cpp:531–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529 boost::replace_all(this->name, ".", "/");
530 }
531 ~JavaWorkload() {
532 if (workload) {
533 try {
534 jvm->shutdownWorkload(workload, name);
535 jvm->env->DeleteGlobalRef(workload);
536 } catch (JNIError& e) {
537 log.trace(error, "JNIShutDownUnsucessful", { { "Error", e.toString() }, { "Location", e.location() } });
538 }
539 }
540 }
541
542 std::string description() const override { return name; }
543 bool init(FDBWorkloadContext* context) override {

Callers

nothing calls this directly

Calls 4

shutdownWorkloadMethod · 0.80
traceMethod · 0.45
toStringMethod · 0.45
locationMethod · 0.45

Tested by

no test coverage detected