| 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 { |
nothing calls this directly
no test coverage detected