MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / stop

Method stop

libminifi/src/ThreadedSchedulingAgent.cpp:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void ThreadedSchedulingAgent::stop() {
117 SchedulingAgent::stop();
118 std::lock_guard<std::mutex> lock(mutex_);
119 for (const auto& processor_id : processors_running_) {
120 logger_->log_error("SchedulingAgent is stopped before processor was unscheduled: %s", processor_id.to_string());
121 thread_pool_.stopTasks(processor_id.to_string());
122 }
123}
124
125void ThreadedSchedulingAgent::unschedule(std::shared_ptr<core::Processor> processor) {
126 std::lock_guard<std::mutex> lock(mutex_);

Callers

nothing calls this directly

Calls 3

log_errorMethod · 0.80
stopTasksMethod · 0.80
to_stringMethod · 0.45

Tested by

no test coverage detected