smengcl commented on code in PR #4543:
URL: https://github.com/apache/ozone/pull/4543#discussion_r1159246190


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/AbstractKeyDeletingService.java:
##########
@@ -244,4 +422,35 @@ public ScmBlockLocationProtocol getScmClient() {
   public AtomicLong getRunCount() {
     return runCount;
   }

Review Comment:
   Can we just return `Long` instead of having every single caller call `get()` 
individually?
   
   ```suggestion
     public Long getRunCount() {
       return runCount.get();
     }
   ```



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