zhijiang created FLINK-12497:
--------------------------------
Summary: Refactor the start method of ConnectionManager
Key: FLINK-12497
URL:
https://issues.apache.org/jira/browse/FLINK-12497 Project: Flink
Issue Type: Sub-task
Components: Runtime / Network
Reporter: zhijiang
Assignee: zhijiang
In current `ConnectionManager#start(ResultPartitionProvider, TaskEventDispatcher)`, the parameters in start are only reasonable for `NettyConnectionManager` implementation, reductant for `LocalConnectionManager`.
We could put these parameters in the constructor of `NettyConnectionManager`, then `ConnectionManager#start()` would be more cleaner for both implementations. And it also bring benefits for calling start in `NetworkEnvironment` which does not need to maintain private `TaskEventDispatcher`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)