You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhijiang (JIRA)" <ji...@apache.org> on 2019/07/08 08:11:00 UTC

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

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)