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

Attila Doroszlai updated HDDS-8745:
-----------------------------------
    Status: Patch Available  (was: In Progress)

> Let ConfigType.TIME apply to Duration
> -------------------------------------
>
>                 Key: HDDS-8745
>                 URL: https://issues.apache.org/jira/browse/HDDS-8745
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: common
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>
> {{ConfigType.TIME}} is used for {{long}} member variables.  To improve type 
> safety, several config classes have accessor/mutator that return/accept 
> {{Duration}}.  This results in unnecessary conversions back and forth between 
> {{Duration}} and {{long}}.
> We should allow setting {{ConfigType.TIME}} on {{Duration}} field directly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to