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

Method getTotalFlowFileCount

libminifi/src/core/ProcessGroup.cpp:389–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389std::size_t ProcessGroup::getTotalFlowFileCount() const {
390 std::size_t sum = 0;
391 for (auto& conn : connections_) {
392 sum += gsl::narrow<std::size_t>(conn->getQueueSize());
393 }
394
395 for (const ProcessGroup* childGroup : child_process_groups_) {
396 sum += childGroup->getTotalFlowFileCount();
397 }
398 return sum;
399}
400
401} /* namespace core */
402} /* namespace minifi */

Callers 2

stopMethod · 0.80

Calls 1

getQueueSizeMethod · 0.45

Tested by

no test coverage detected