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 intcompareTo(RrdSample o)booleanequals(Object obj)longgetTimestamp()Gets the timestamp in milliseconds.inthashCode()voidsetTimestamp(long timestamp)Sets the timestamp in milliseconds.StringtoString()
-
-
-
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:
compareToin interfaceComparable<RrdSample>
-
-