Class NormalizerSampleConsumer

All Implemented Interfaces:
SampleConsumer, SampleProcessor, SampleProducer

public class NormalizerSampleConsumer extends AbstractSampleConsumer
Consume samples using the JMeter timestamp property (defaulting to SampleSaveConfiguration.MILLISECONDS) and reproduce them as a long value (for faster treatment later in the consuming chain).
Since:
3.0
  • Constructor Details

    • NormalizerSampleConsumer

      public NormalizerSampleConsumer()
  • Method Details

    • startConsuming

      public void startConsuming()
      Description copied from interface: SampleConsumer
      Start the sample consuming. This step is used by consumer to initialize their process.
    • consume

      public void consume(Sample s, int channel)
      Description copied from interface: SampleConsumer
      Consumes the specified sample ton the specified channel.
      Parameters:
      s - The sample to be consumed
      channel - The channel on which the sample is consumed
    • stopConsuming

      public void stopConsuming()
      Description copied from interface: SampleConsumer
      Stops the consuming process. No sample will be processed after this service has been called.