Class YammerMetricName
- java.lang.Object
-
- org.apache.pinot.plugin.metrics.yammer.YammerMetricName
-
- All Implemented Interfaces:
PinotMetricName
public class YammerMetricName extends Object implements PinotMetricName
-
-
Constructor Summary
Constructors Constructor Description YammerMetricName(com.yammer.metrics.core.MetricName metricName)YammerMetricName(Class<?> klass, String name)
-
Method Summary
Modifier and Type Method Description booleanequals(Object obj)Overrides equals method by calling the equals from the actual metric name.com.yammer.metrics.core.MetricNamegetMetricName()inthashCode()Overrides hashCode method by calling the hashCode method from the actual metric name.StringtoString()
-
-
-
Method Detail
-
getMetricName
public com.yammer.metrics.core.MetricName 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
-
-