public class DataPoint
extends java.lang.Object
| Constructor and Description |
|---|
DataPoint(long timestamp,
double value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getT()
The measurement timestamp.
|
double |
getV()
The measurement value.
|
int |
hashCode() |
static DataPoint |
make(com.netflix.spectator.api.Measurement m)
Factory method to create a DataPoint from a Measurement.
|
java.lang.String |
toString() |
public static DataPoint make(com.netflix.spectator.api.Measurement m)
public long getT()
public double getV()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object