Package org.rrd4j.data
Class Source
- java.lang.Object
-
- org.rrd4j.data.Source
-
-
Field Summary
Fields Modifier and Type Field Description protected long[]
timestamps
protected double[]
values
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description (package private) Aggregates
getAggregates(long tStart, long tEnd)
Deprecated.This method is deprecated.(package private) String
getName()
(package private) double
getPercentile(long tStart, long tEnd, double percentile)
Deprecated.This method is deprecated.(package private) long[]
getTimestamps()
(package private) double[]
getValues()
(package private) void
setTimestamps(long[] timestamps)
(package private) void
setValues(double[] values)
-
-
-
Constructor Detail
-
Source
Source(String name)
-
-
Method Detail
-
getName
String getName()
-
setValues
void setValues(double[] values)
-
setTimestamps
void setTimestamps(long[] timestamps)
-
getValues
double[] getValues()
-
getTimestamps
long[] getTimestamps()
-
getAggregates
@Deprecated Aggregates getAggregates(long tStart, long tEnd)
Deprecated.This method is deprecated. Uses instance ofVariable
, used with DataProcessor.addDatasource(String, String, Variable)- Parameters:
tStart
-tEnd
-- Returns:
-
getPercentile
@Deprecated double getPercentile(long tStart, long tEnd, double percentile)
Deprecated.This method is deprecated. Uses instance ofVariable.PERCENTILE
, used with DataProcessor.addDatasource(String, String, Variable)- Parameters:
tStart
-tEnd
-percentile
-- Returns:
-
-