All Known Implementing Classes:
LinearInterpolator, org.rrd4j.data.Plottable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterfacepublic interface IPlottable
Interface for custom data sources used in RRD graphs.
Implement this interface to create custom datasources that can be passed to RrdGraphDef for graphing operations.

If you wish to use a custom datasource in a graph, create a class implementing this interface that represents that datasource, and then pass this class to RrdGraphDef.

  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    double
    getValue(long timestamp)
    Retrieves datapoint value based on a given timestamp.
  • Method Details

    • getValue

      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.