public class DataPoint extends Object
| Constructor and Description |
|---|
DataPoint(long timestamp,
double value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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.
|
String |
toString() |
public static DataPoint make(com.netflix.spectator.api.Measurement m)
public long getT()
public double getV()