Class CountMetricSummary
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.core.stats.CountMetricSummary
-
public class CountMetricSummary extends Object
Provides summary data for a set of count values.- Since:
- 0.37
-
-
Constructor Summary
Constructors Constructor Description CountMetricSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidincrement(long inc, long elapsedTimeMillis)Updates collected summary data with given info.doubleperSecond()Provides the average count per second for the given metric.longtotal()Provides the total count (the sum).
-
-
-
Method Detail
-
increment
public void increment(long inc, long elapsedTimeMillis)Updates collected summary data with given info.- Parameters:
inc- contains the last value counted.elapsedTimeMillis- specifies the number of milliseconds since the count started.
-
perSecond
public double perSecond()
Provides the average count per second for the given metric.
-
total
public long total()
Provides the total count (the sum).
-
-