Attila Doroszlai created HDDS-8745:
--------------------------------------
Summary: 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
{{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]