public class RrdSample extends Row implements Comparable<RrdSample>
| Constructor and Description |
|---|
RrdSample(long timestamp,
List<Double> values)
Instantiates a new sample.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RrdSample o) |
boolean |
equals(Object obj) |
long |
getTimestamp()
Gets the timestamp in milliseconds.
|
int |
hashCode() |
void |
setTimestamp(long timestamp)
Sets the timestamp in milliseconds.
|
String |
toString() |
public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - the new timestamppublic int compareTo(RrdSample o)
compareTo in interface Comparable<RrdSample>Copyright © 2022. All rights reserved.