Class SeriesData

java.lang.Object
org.apache.jmeter.report.processor.graph.SeriesData

public class SeriesData extends Object
The class SeriesData helps to store series data in a graph.
Since:
3.0
  • Constructor Details

    • SeriesData

      public SeriesData(AggregatorFactory factory, boolean hasAggregatedKey, boolean isControllersSeries, boolean isOverallSeries)
      Instantiates a new data seriesData.
      Parameters:
      factory - the factory
      hasAggregatedKey - the has aggregated key
      isControllersSeries - the flag using to indicate if the current series is built from controller samples
      isOverallSeries - flag to indicate whether the current series is an aggregation of other series
  • Method Details

    • getAggregatorInfo

      public final Map<Double,Aggregator> getAggregatorInfo()
      Gets the groupData.
      Returns:
      the groupData
    • getKeysAggregator

      public final Aggregator getKeysAggregator()
      Gets the keys aggregator of aggregated keys seriesData.
      Returns:
      the keys aggregator
    • getValuesAggregator

      public final 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()