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

Tsz-wo Sze updated HDDS-12621:
------------------------------
        Parent: HDDS-9399
    Issue Type: Sub-task  (was: Improvement)

> Change NodeStatus to value-based
> --------------------------------
>
>                 Key: HDDS-12621
>                 URL: https://issues.apache.org/jira/browse/HDDS-12621
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.1.0
>
>
> All the fields in NodeStatus won't be changed.  We should change it to a 
> value-based class.  The main changes are:
> - adding valueOf(..) methods,
> - hiding the constructors, and
> - replace the constructor calls
> We also add a CONSTANT_MAP for storing all the NodeStatus objects with 
> opStateExpiryEpochSeconds == 0.



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