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

Method outgoingConnectionsFull

libminifi/src/core/ProcessSession.cpp:961–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

959}
960
961bool ProcessSession::outgoingConnectionsFull(const std::string& relationship) {
962 std::set<std::shared_ptr<Connectable>> connections = process_context_->getProcessorNode()->getOutGoingConnections(relationship);
963 Connection * connection = nullptr;
964 for (const auto& conn : connections) {
965 connection = dynamic_cast<Connection*>(conn.get());
966 if (connection && connection->isFull()) {
967 return true;
968 }
969 }
970 return false;
971}
972
973bool ProcessSession::existsFlowFileInRelationship(const Relationship &relationship) {
974 return std::any_of(_transferRelationship.begin(), _transferRelationship.end(),

Callers 2

commitAndSaveBookmarkMethod · 0.80
ProcessorTests.cppFile · 0.80

Calls 4

getProcessorNodeMethod · 0.80
getMethod · 0.45
isFullMethod · 0.45

Tested by

no test coverage detected