public class Sample extends Object implements Comparable<Sample>, Serializable
| Constructor and Description |
|---|
Sample() |
Sample(Resource resource,
Metric metric,
Timestamp timestamp,
SampleValue<?> value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Sample o) |
boolean |
equals(Object obj) |
Metric |
getMetric() |
Resource |
getResource() |
Timestamp |
getTimestamp() |
SampleValue<?> |
getValue() |
int |
hashCode() |
String |
toString() |
public Sample()
public Sample(Resource resource, Metric metric, Timestamp timestamp, SampleValue<?> value)
public Resource getResource()
public Metric getMetric()
public Timestamp getTimestamp()
public SampleValue<?> getValue()
public int compareTo(Sample o)
compareTo in interface Comparable<Sample>Copyright © 2016. All rights reserved.