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

Attila Doroszlai resolved HDDS-12541.
-------------------------------------
    Fix Version/s: 2.0.0
       Resolution: Implemented

> Change ContainerID to value-based
> ---------------------------------
>
>                 Key: HDDS-12541
>                 URL: https://issues.apache.org/jira/browse/HDDS-12541
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: common
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> In order to change ContainerID to be a [value-based 
> class|https://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html],
>  we must enforce factory method (i.e. disallow directly calling constructors).
> We also improve its efficiency here:
> - Cache proto and hash.
> - Avoid apache.commons.lang3.



--
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