Tejaskriya commented on code in PR #8896:
URL: https://github.com/apache/ozone/pull/8896#discussion_r2256122541


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMPerformanceMetrics.java:
##########
@@ -291,6 +306,26 @@ public void setDeleteKeysAclCheckLatencyNs(long 
latencyInNs) {
   public MutableRate getDeleteKeyResolveBucketAndAclCheckLatencyNs() {
     return deleteKeyResolveBucketAndAclCheckLatencyNs;
   }
+
+  public MutableRate getCreateKeyResolveBucketAndAclCheckLatencyNs() {
+    return createKeyResolveBucketAndAclCheckLatencyNs;
+  }
+
+  public void addCreateKeyQuotaCheckLatencyNs(long latencyInNs) {
+    createKeyQuotaCheckLatencyNs.add(latencyInNs);
+  }
+
+  public MutableRate getCreateKeyAllocateBlockLatencyNs() {
+    return createKeyAllocateBlockLatencyNs;
+  }
+
+  public void setCreateKeyFailureLatencyNs(long latencyInNs) {
+    createKeyFailureLatencyNs.add(latencyInNs);
+  }
+
+  public void setCreateKeySuccessLatencyNs(long latencyInNs) {
+    createKeySuccessLatencyNs.add(latencyInNs);

Review Comment:
   Variable can be renamed:
   ```suggestion
     public void addCreateKeySuccessLatencyNs(long latencyInNs) {
       createKeySuccessLatencyNs.add(latencyInNs);
   ```



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