zhijiang created FLINK-11604:
--------------------------------
Summary: Extend the necessary methods in ResultPartitionWriter interface
Key: FLINK-11604
URL:
https://issues.apache.org/jira/browse/FLINK-11604 Project: Flink
Issue Type: Sub-task
Components: Network
Reporter: zhijiang
Assignee: zhijiang
Fix For: 1.8.0
This is a preparation work for future creating {{ResultPartitionWriter}} via proposed {{ShuffleService}}.
Currently there exists only one {{ResultPartition}} implementation for {{ResultPartitionWriter}} interface, so the specific {{ResultPartition}} instance is easily referenced in many other classes such as {{Task}}, {{NetworkEnvironment}}, etc. Even some private methods in {{ResultPartition}} would be called directly in these reference classes.
Considering {{ShuffleService}} might create multiple different {{ResultPartitionWriter}} implementations future, then all the other classes should only reference with the interface and call the common methods. Therefore we extend the related methods in {{ResultPartitionWriter}} interface in order to cover existing logics in {{ResultPartition}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)