Package com.yahoo.metrics.simple
Class Identifier
- java.lang.Object
-
- com.yahoo.metrics.simple.Identifier
-
public class Identifier extends Object
The name of the metric and its n-dimensional position. Basically a pair of a Point and a metric name. Written to be robust against null input as the API gives very little guidance, converting null to empty string/point. Immutable.- Author:
- Steinar Knutsen
-
-
Constructor Summary
Constructors Constructor Description Identifier(String name, Point location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Point
getLocation()
String
getName()
int
hashCode()
String
toString()
-