public abstract class

Plottable

extends Object
java.lang.Object
   ↳ org.rrd4j.data.Plottable
Known Direct Subclasses

Class Overview

Abstract 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.

Summary

Public Constructors
Plottable()
Public Methods
double getValue(long timestamp)
Retrieves datapoint value based on a given timestamp.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Plottable ()

Public Methods

public double getValue (long timestamp)

Retrieves datapoint value based on a given timestamp. Use this method if you only have one series of data in this class.

Parameters
timestamp Timestamp in seconds for the datapoint.
Returns
  • Double value of the datapoint.