java.lang.Object
org.rrd4j.data.Variable
org.rrd4j.data.Variable.PERCENTILE
org.rrd4j.data.Variable.PERCENTILENAN
- Enclosing class:
Variable
Percentile calculation that leaves gap entries out of the ranking.
Nested Class Summary
Nested classes/interfaces inherited from class Variable
Variable.AVERAGE, Variable.ComparPercentElemen, Variable.FIRST, Variable.LAST, Variable.LSLCORREL, Variable.LSLINT, Variable.LSLSLOPE, Variable.MAX, Variable.MIN, Variable.PercentElem, Variable.PERCENTILE, Variable.PERCENTILENAN, Variable.STDDEV, Variable.TOTAL, Variable.ValueModifier and TypeClassDescriptionstatic classCalculate the average of the data points.(package private) static final classThe sort used by rrdtool for percent, where NaN < -INF < finite values < INFstatic classFind the first valid data point and it's timestampstatic classFind the first last valid point and it's timestampstatic classCalculate the correlation coefficient of the least squares line.static classCalculate the y-intercept of the least squares line.static classCalculate the slop of the least squares line.static classThe biggest of the data points, stamped with the latest point attaining it.static classThe smallest of the data points, stamped with the latest point attaining it.(package private) static final classStore all the informations about a datasource point, for predictive and consistent sortingstatic classFind the point at the n-th percentile.static classPercentile calculation that leaves gap entries out of the ranking.static classCalculate the standard deviation for the data point.static classCalculate the sum of the data points.static final classThis class store both the value and the time stamp It will be used by graph rendering legendField Summary
Fields inherited from class Variable
INVALIDVALUEModifier and TypeFieldDescriptionstatic final Variable.ValueRepresents an invalid value with NaN (Not a Number) value.Constructor Summary
ConstructorsConstructorDescriptionPERCENTILENAN(double percentile) Creates a percentile calculation that ignores gap entries.PERCENTILENAN(float percentile) Creates a percentile calculation that ignores gap entries.Method Summary
Methods inherited from class Variable.PERCENTILE
fillModifier and TypeMethodDescriptionprotected Variable.Valuefill(long[] timestamps, double[] values, long start, long end) This method is call with the needed values, extracted from the datasource to do the calculation.Methods inherited from class Variable
calculate, getValueModifier and TypeMethodDescription(package private) voidUsed to calculate the needed value from a source, this method call the abstract methodVariable.fill(long[], double[], long, long).getValue()Returns the value left by the lastVariable.calculate(Source, long, long)call.
Constructor Details
PERCENTILENAN
public PERCENTILENAN(float percentile) Creates a percentile calculation that ignores gap entries.- Parameters:
percentile- rank to report, 0 for the smallest point through 100 for the largest
PERCENTILENAN
public PERCENTILENAN(double percentile) Creates a percentile calculation that ignores gap entries.- Parameters:
percentile- rank to report, 0 for the smallest point through 100 for the largest