Package org.opennms.netmgt.rrd.model
Class RrdSample
- java.lang.Object
-
- org.opennms.netmgt.rrd.model.Row
-
- org.opennms.netmgt.rrd.model.RrdSample
-
- All Implemented Interfaces:
Comparable<RrdSample>
public class RrdSample extends Row implements Comparable<RrdSample>
The Class Sample.- Author:
- Alejandro Galue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
Gets the timestamp in milliseconds.- Returns:
- the timestamp
-
setTimestamp
public void setTimestamp(long timestamp)
Sets the timestamp in milliseconds.- Parameters:
timestamp
- the new timestamp
-
compareTo
public int compareTo(RrdSample o)
- Specified by:
compareTo
in interfaceComparable<RrdSample>
-
-