Tsz-wo Sze created HDDS-12541:
---------------------------------
Summary: 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
ContainerID should be a [value-based
class|https://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html];
see
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]