[jira] [Created] (FLINK-13141) Remove getBufferSize method from BufferPoolFactory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13141) Remove getBufferSize method from BufferPoolFactory

Shang Yuanchun (Jira)
zhijiang created FLINK-13141:
--------------------------------

             Summary: Remove getBufferSize method from BufferPoolFactory
                 Key: FLINK-13141
                 URL: https://issues.apache.org/jira/browse/FLINK-13141
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Network
            Reporter: zhijiang
            Assignee: zhijiang


This is just a refactor work to make the interfacer of BufferPoolFactory more simple and clean.

BufferPoolFactory#getBufferSize is only used for creating subpartitions in ResultPartitionFactory. We could pass the network buffer size from NettyShuffleEnvironmentConfiguration while constructing the ResultPartitionFactory, then the interface method getBufferSize could be removed form BufferPoolFactory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)