Class SeriesData
java.lang.Object
org.apache.jmeter.report.processor.graph.SeriesData
The class SeriesData helps to store series data in a graph.
- Since:
- 3.0
-
Constructor Summary
ConstructorDescriptionSeriesData
(AggregatorFactory factory, boolean hasAggregatedKey, boolean isControllersSeries, boolean isOverallSeries) Instantiates a new data seriesData. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
final Map<Double,
Aggregator> Gets the groupData.final long
getCount()
Gets the count of samples.final Aggregator
Gets the keys aggregator of aggregated keys seriesData.final Aggregator
Gets the values aggregator of aggregated keys seriesData.void
Increment the count of samples.final boolean
Checks if the current series is built from controller samples.final boolean
Checks if the current series is an overall aggregation of other series.
-
Constructor Details
-
SeriesData
public SeriesData(AggregatorFactory factory, boolean hasAggregatedKey, boolean isControllersSeries, boolean isOverallSeries) Instantiates a new data seriesData.- Parameters:
factory
- the factoryhasAggregatedKey
- the has aggregated keyisControllersSeries
- the flag using to indicate if the current series is built from controller samplesisOverallSeries
- flag to indicate whether the current series is an aggregation of other series
-
-
Method Details
-
getAggregatorInfo
Gets the groupData.- Returns:
- the groupData
-
getKeysAggregator
Gets the keys aggregator of aggregated keys seriesData.- Returns:
- the keys aggregator
-
getValuesAggregator
Gets the values aggregator of aggregated keys seriesData.- Returns:
- the values aggregator
-
isControllersSeries
public final boolean isControllersSeries()Checks if the current series is built from controller samples.- Returns:
- true, if the current series is built from controller samples; false otherwise
-
isOverallSeries
public final boolean isOverallSeries()Checks if the current series is an overall aggregation of other series.- Returns:
- true, if the current series is an overall aggregation of other series; false otherwise
-
getCount
public final long getCount()Gets the count of samples.- Returns:
- the count of samples
-
incrementCount
public void incrementCount()Increment the count of samples. -
clear
public void clear()
-