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

Method getOutGoingConnections

libminifi/src/core/Connectable.cpp:153–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153std::set<std::shared_ptr<Connectable>> Connectable::getOutGoingConnections(const std::string &relationship) const {
154 std::set<std::shared_ptr<Connectable>> empty;
155
156 const auto &&it = out_going_connections_.find(relationship);
157 if (it != out_going_connections_.end()) {
158 return it->second;
159 } else {
160 return empty;
161 }
162}
163
164std::shared_ptr<Connectable> Connectable::getNextIncomingConnection() {
165 std::lock_guard<std::mutex> lock(relationship_mutex_);

Callers 2

routeFlowFileMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected