szetszwo opened a new pull request, #8105:
URL: https://github.com/apache/ozone/pull/8105

   ## What changes were proposed in this pull request?
   
   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.
   
   ## What is the link to the Apache JIRA
   
   HDDS-12621
   
   ## How was this patch tested?
   
   By updating existing tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to