From ad4c17c2f9e13c6ec69b04b895dbcd95508280bd Mon Sep 17 00:00:00 2001 From: chungen0126 Date: Sat, 29 Jun 2024 02:10:12 +0800 Subject: [PATCH] remove getContainerOpsMetrics --- .../ozone/container/common/helpers/ContainerMetrics.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/ContainerMetrics.java b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/ContainerMetrics.java index a717b24749c..4efa935bc8a 100644 --- a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/ContainerMetrics.java +++ b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/ContainerMetrics.java @@ -110,10 +110,6 @@ public void incContainerOpsMetrics(ContainerProtos.Type type) { numOpsArray.get(type).incr(); } - public long getContainerOpsMetrics(ContainerProtos.Type type) { - return numOpsArray.get(type).value(); - } - public void incContainerOpsLatencies(ContainerProtos.Type type, long latencyMillis) { opsLatency.get(type).add(latencyMillis);