java.lang.Object
org.rrd4j.graph.DownSampler.DataSet
- Enclosing interface:
DownSampler
Represents a dataset containing timestamps and corresponding values. Used to store downsampled data for graph rendering.
Field Summary
FieldsModifier and TypeFieldDescriptionfinal long[]Timestamps for each data point.final double[]Values corresponding to each timestamp.Constructor Summary
ConstructorsMethod Summary
Field Details
timestamps
public final long[] timestampsTimestamps for each data point.values
public final double[] valuesValues corresponding to each timestamp.
Constructor Details
DataSet
public DataSet(long[] timestamps, double[] values) Create a new DataSet.- Parameters:
timestamps- the timestamps, parallel to valuesvalues- the sampled values, parallel to timestamps
Method Details
toString