aryangupta1998 commented on code in PR #7986:
URL: https://github.com/apache/ozone/pull/7986#discussion_r1977694565
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMPerformanceMetrics.java:
##########
@@ -299,4 +309,16 @@ public MutableRate getGetObjectTaggingAclCheckLatencyNs() {
public void addGetObjectTaggingLatencyNs(long latencyInNs) {
getObjectTaggingAclCheckLatencyNs.add(latencyInNs);
}
+
+ public void setLatencyDirectoryDeletingService(long latencyInNs) {
+ latencyDirectoryDeletingService.set(latencyInNs);
+ }
+
+ public void setLatencyKeyDeletingService(long latencyInNs) {
+ latencyKeyDeletingService.set(latencyInNs);
Review Comment:
Same here as well,
```suggestion
public void setLatencyKeyDeletingService(long latencyInMs) {
latencyKeyDeletingService.set(latencyInMs);
```
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMPerformanceMetrics.java:
##########
@@ -299,4 +309,16 @@ public MutableRate getGetObjectTaggingAclCheckLatencyNs() {
public void addGetObjectTaggingLatencyNs(long latencyInNs) {
getObjectTaggingAclCheckLatencyNs.add(latencyInNs);
}
+
+ public void setLatencyDirectoryDeletingService(long latencyInNs) {
+ latencyDirectoryDeletingService.set(latencyInNs);
+ }
+
+ public void setLatencyKeyDeletingService(long latencyInNs) {
+ latencyKeyDeletingService.set(latencyInNs);
+ }
+
+ public void setLatencyOpenKeyCleanupService(long latencyInNs) {
+ latencyOpenKeyCleanupService.set(latencyInNs);
Review Comment:
Same here as well!
--
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]