Package org.apache.pinot.spi.metrics
Interface PinotMetricName
-
public interface PinotMetricNameMetric Name in Pinot.
-
-
Method Detail
-
getMetricName
Object getMetricName()
Returns the actual metric name.
-
equals
boolean equals(Object obj)
Overrides the equals method. This is needed asPinotMetricNameis used as the key of the key-value pair inside the hashmap in MetricsRegistry. Without overriding equals() and hashCode() methods, all the existing k-v pairs stored in hashmap cannot be retrieved by initializing a new key.
-
hashCode
int hashCode()
Overrides the hashCode method. This method's contract is the same as equals() method.
-
-