Class AbstractVersusRequestsGraphConsumer

  • All Implemented Interfaces:
    org.apache.jmeter.report.processor.SampleConsumer , org.apache.jmeter.report.processor.SampleProcessor , org.apache.jmeter.report.processor.SampleProducer

    
    public abstract class AbstractVersusRequestsGraphConsumer
    extends AbstractGraphConsumer
                        

    The class AbstractOverTimeGraphConsumer provides a base class for over time graphs.

    Since:

    3.0

    • Constructor Detail

    • Method Detail

      • getGranularity

         long getGranularity()

        Gets the granularity.

        Returns:

        the granularity

      • setGranularity

         final void setGranularity(long granularity)

        Sets the granularity.

        Parameters:
        granularity - the granularity to set
      • startConsuming

         void startConsuming()

        Start the sample consuming. This step is used by consumer to initialize their process.

      • setConsumedMetadata

         void setConsumedMetadata(SampleMetadata sampleMetadata, int channel)

        Set the metadata of samples that will be consumed on the specified channel.

        Parameters:
        sampleMetadata - The sample metadata that are being consumed for the associated channel
        channel - The channel whose sample metadata are being defined
      • consume

         void consume(Sample sample, int channel)

        Consumes the specified sample ton the specified channel.

        Parameters:
        channel - The channel on which the sample is consumed
      • stopConsuming

         void stopConsuming()

        Stops the consuming process. No sample will be processed after this service has been called.