[
https://issues.apache.org/jira/browse/FLINK-12067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-12067:
-----------------------------------
Labels: pull-request-available (was: )
> Refactor the constructor of NetworkEnvironment
> ----------------------------------------------
>
> Key: FLINK-12067
> URL: https://issues.apache.org/jira/browse/FLINK-12067
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Network
> Reporter: zhijiang
> Assignee: zhijiang
> Priority: Minor
> Labels: pull-request-available
>
> The constructor of {{NetworkEnvironment}} could be refactored to only contain
> {{NetworkEnvironmentConfiguration}}, the other related components such as
> {{TaskEventDispatcher}}, {{ResultPartitionManager}}, {{NetworkBufferPool}}
> could be created internally.
> We also refactor the process of generating
> {{NetworkEnvironmentConfiguration}} in {{TaskManagerServiceConfiguration}} to
> add {{numNetworkBuffers}} instead of previous {{networkBufFraction}},
> {{networkBufMin}}, {{networkBufMax}}.
> Further we introduce the {{NetworkEnvironmentConfigurationBuilder}} for
> creating {{NetworkEnvironmentConfiguration}} easily especially for tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)