Class DropwizardMetricName
- java.lang.Object
-
- org.apache.pinot.plugin.metrics.dropwizard.DropwizardMetricName
-
- All Implemented Interfaces:
PinotMetricName
public class DropwizardMetricName extends Object implements PinotMetricName
-
-
Constructor Summary
Constructors Constructor Description DropwizardMetricName(Class<?> klass, String name)DropwizardMetricName(String metricName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Overrides equals method by calling the equals from the actual metric name.StringgetMetricName()inthashCode()Overrides hashCode method by calling the hashCode method from the actual metric name.StringtoString()
-
-
-
Method Detail
-
getMetricName
public String getMetricName()
- Specified by:
getMetricNamein interfacePinotMetricName
-
equals
public boolean equals(Object obj)
Overrides equals method by calling the equals from the actual metric name.- Specified by:
equalsin interfacePinotMetricName- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
Overrides hashCode method by calling the hashCode method from the actual metric name.- Specified by:
hashCodein interfacePinotMetricName- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfacePinotMetricName- Overrides:
toStringin classObject
-
-