diff --git a/server/src/main/java/org/opensearch/common/cache/stats/SingleDimensionCacheStats.java b/server/src/main/java/org/opensearch/common/cache/stats/SingleDimensionCacheStats.java index 9391e0049fd47..63f8ab27e43c2 100644 --- a/server/src/main/java/org/opensearch/common/cache/stats/SingleDimensionCacheStats.java +++ b/server/src/main/java/org/opensearch/common/cache/stats/SingleDimensionCacheStats.java @@ -280,17 +280,4 @@ private ConcurrentMap convertLongMapToCounterMetric(Map dimensions) { - return null; - } - - @Override - public long getTotalHits() { - return 0; - } - - @Override - public long getTotalMisses() { - return 0; - } - - @Override - public long getTotalEvictions() { - return 0; - } - - @Override - public long getTotalMemorySize() { - return 0; - } - - @Override - public long getTotalEntries() { - return 0; - } - - @Override - public long getHitsByDimensions(List dimensions) { - return 0; - } - - @Override - public long getMissesByDimensions(List dimensions) { - return 0; - } - - @Override - public long getEvictionsByDimensions(List dimensions) { - return 0; - } - - @Override - public long getMemorySizeByDimensions(List dimensions) { - return 0; - } - - @Override - public long getEntriesByDimensions(List dimensions) { - return 0; - } - - @Override - public void incrementHitsByDimensions(List dimensions) { - - } - - @Override - public void incrementMissesByDimensions(List dimensions) { - - } - - @Override - public void incrementEvictionsByDimensions(List dimensions) { - - } - - @Override - public void incrementMemorySizeByDimensions(List dimensions, long amountBytes) { - - } - - @Override - public void incrementEntriesByDimensions(List dimensions) { - - } - - @Override - public void decrementEntriesByDimensions(List dimensions) { - - } -}