Package org.rrd4j.data
Class Plottable
- java.lang.Object
-
- org.rrd4j.data.Plottable
-
- All Implemented Interfaces:
IPlottable
- Direct Known Subclasses:
CubicSplineInterpolator
,LinearInterpolator
@Deprecated public abstract class Plottable extends Object implements IPlottable
Deprecated.use implementations ofIPlottable
insteadAbstract class to be used for custom datasources.If you wish to use a custom datasource in a graph, you should create a class implementing this interface that represents that datasource, and then pass this class on to the RrdGraphDef.
-
-
Constructor Summary
Constructors Constructor Description Plottable()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract double
getValue(long timestamp)
Deprecated.Retrieves datapoint value based on a given timestamp.
-
-
-
Method Detail
-
getValue
public abstract double getValue(long timestamp)
Deprecated.Retrieves datapoint value based on a given timestamp. Use this method if you only have one series of data in this class.- Specified by:
getValue
in interfaceIPlottable
- Parameters:
timestamp
- Timestamp in seconds for the datapoint.- Returns:
- Double value of the datapoint.
-
-