Class MovingThroughputStat
- java.lang.Object
-
- org.ow2.clif.jenkins.chart.movingstatistics.AbstractMovingStat
-
- org.ow2.clif.jenkins.chart.movingstatistics.MovingThroughputStat
-
public class MovingThroughputStat extends AbstractMovingStat
Calculate the moving throughput of time series data.
-
-
Constructor Summary
Constructors Constructor Description MovingThroughputStat(long periodMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addMovingStatForPeriod(org.jfree.data.xy.XYSeries result, double x)
Add the moving statistic to the resulting XYSeriesprotected void
calculateMovingStatInPeriod(double xx, double yy)
Calculate the current moving statistic with a new pointvoid
resetMovingStat()
Reset the movinf statistic just before calculating a new one-
Methods inherited from class org.ow2.clif.jenkins.chart.movingstatistics.AbstractMovingStat
calculateMovingStat
-
-
-
-
Method Detail
-
resetMovingStat
public void resetMovingStat()
Description copied from class:AbstractMovingStat
Reset the movinf statistic just before calculating a new one- Specified by:
resetMovingStat
in classAbstractMovingStat
-
calculateMovingStatInPeriod
protected void calculateMovingStatInPeriod(double xx, double yy)
Description copied from class:AbstractMovingStat
Calculate the current moving statistic with a new point- Specified by:
calculateMovingStatInPeriod
in classAbstractMovingStat
- Parameters:
xx
- x value of the pointyy
- Y value of the point
-
addMovingStatForPeriod
protected void addMovingStatForPeriod(org.jfree.data.xy.XYSeries result, double x)
Description copied from class:AbstractMovingStat
Add the moving statistic to the resulting XYSeries- Specified by:
addMovingStatForPeriod
in classAbstractMovingStat
- Parameters:
result
- Resulting XYSeriesx
- X value where to add the moving statistic
-
-