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

Method getFlowFileContainers

libminifi/src/core/ProcessGroup.cpp:333–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333void ProcessGroup::getFlowFileContainers(std::map<std::string, std::shared_ptr<Connectable>> &containers) const {
334 for (auto connection : connections_) {
335 containers[connection->getUUIDStr()] = connection;
336 containers[connection->getName()] = connection;
337 }
338 for (auto processor : processors_) {
339 // processors can also own FlowFiles
340 containers[processor->getUUIDStr()] = processor;
341 }
342 for (auto processGroup : child_process_groups_) {
343 processGroup->getFlowFileContainers(containers);
344 }
345}
346
347void ProcessGroup::addConnection(const std::shared_ptr<Connection>& connection) {
348 std::lock_guard<std::recursive_mutex> lock(mutex_);

Callers 1

loadFlowRepoMethod · 0.80

Calls 2

getUUIDStrMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected