Class AggregateConsumer
java.lang.Object
org.apache.jmeter.report.processor.AbstractSampleProcessor
org.apache.jmeter.report.processor.AbstractSampleConsumer
org.apache.jmeter.report.processor.AggregateConsumer
- All Implemented Interfaces:
- SampleConsumer,- SampleProcessor,- SampleProducer
The Class AggregateConsumer provides a consumer that can aggregate samples to
 provide a result
- Since:
- 3.0
- 
Constructor SummaryConstructorsConstructorDescriptionAggregateConsumer(Aggregator aggregator, SampleSelector<Double> selector) Instantiates a new abstract aggregate consumer.
- 
Method SummaryModifier and TypeMethodDescriptionvoidConsumes the specified sample ton the specified channel.final AggregatorGets the aggregator.final SampleSelector<Double>Gets the selector.voidStart the sample consuming.voidStops the consuming process.Methods inherited from class org.apache.jmeter.report.processor.AbstractSampleConsumeraddSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setConsumedMetadata, setDataToContext, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducingMethods inherited from class org.apache.jmeter.report.processor.AbstractSampleProcessorgetChannelAttribute, getSampleContextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.report.processor.SampleProcessorgetChannelAttribute, getSampleContext
- 
Constructor Details- 
AggregateConsumerInstantiates a new abstract aggregate consumer.- Parameters:
- aggregator- the aggregator (must not be- null)
- selector- the selector (must not be- null)
 
 
- 
- 
Method Details- 
getAggregatorGets the aggregator.- Returns:
- the aggregator
 
- 
getSelectorGets the selector.- Returns:
- the selector
 
- 
startConsumingpublic void startConsuming()Description copied from interface:SampleConsumerStart the sample consuming. This step is used by consumer to initialize their process.
- 
consumeDescription copied from interface:SampleConsumerConsumes the specified sample ton the specified channel.- Parameters:
- sample- The sample to be consumed
- channel- The channel on which the sample is consumed
 
- 
stopConsumingpublic void stopConsuming()Description copied from interface:SampleConsumerStops the consuming process. No sample will be processed after this service has been called.
 
-