Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to