[ https://issues.apache.org/jira/browse/NIFI-7087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess updated NIFI-7087: ------------------------------- Status: Patch Available (was: In Progress) > Framework should use FlowManager.findAllConnections() when available > -------------------------------------------------------------------- > > Key: NIFI-7087 > URL: https://issues.apache.org/jira/browse/NIFI-7087 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Reporter: Matt Burgess > Assignee: Matt Burgess > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Many places in the framework the entire list of Connections is needed, and > sometimes the list is assembled by recursively collecting all the Connections > for each child process group. This can be an expensive operation, especially > since FlowManager keeps a Set of all Connections. It is noticeable in > ConnectionStatusAnalytics for example. > Whenever a FlowManager object is available to a class that retrieves all > Connections, it should use FlowManager.findAllConnections() rather than > rootGroup.findAllConnections(). -- This message was sent by Atlassian Jira (v8.3.4#803005)