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

Method start

libminifi/src/FlowControlProtocol.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void FlowControlProtocol::start() {
125 if (_reportInterval <= 0)
126 return;
127 if (running_)
128 return;
129 running_ = true;
130 logger_->log_trace("FlowControl Protocol Start");
131 _thread = std::thread(run, this);
132 _thread.detach();
133}
134
135void FlowControlProtocol::stop() {
136 if (!running_)

Callers 1

sendReportReqMethod · 0.45

Calls 2

log_traceMethod · 0.80
detachMethod · 0.45

Tested by

no test coverage detected