[ 
https://issues.apache.org/jira/browse/HDDS-17839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-17839:
----------------------------------
    Labels: pull-request-available  (was: )

> Use Options Builder in CreateKey and CreateFile APIs
> ----------------------------------------------------
>
>                 Key: HDDS-17839
>                 URL: https://issues.apache.org/jira/browse/HDDS-17839
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Anurag Parvatikar
>            Assignee: Anurag Parvatikar
>            Priority: Major
>              Labels: pull-request-available
>
> From the review comment 
> [https://github.com/apache/ozone/pull/11626#discussion_r4583602279] , it was 
> pointed out that future features which require adding args to the createFile, 
> CreateKey APIs will have to be overloaded with more Args.
> This leads to the number of Args constantly growing. To prevent that, we can 
> use the Builder pattern with an options class, as implemented in 
> [https://github.com/apache/ozone/pull/11626] for initateMultipartUpload, for 
> the createKey and createFile APIs as well.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to