Class AbstractVersusRequestsGraphConsumer
java.lang.Object
org.apache.jmeter.report.processor.AbstractSampleProcessor
org.apache.jmeter.report.processor.AbstractSampleConsumer
org.apache.jmeter.report.processor.graph.AbstractGraphConsumer
org.apache.jmeter.report.processor.graph.AbstractVersusRequestsGraphConsumer
- All Implemented Interfaces:
- SampleConsumer,- SampleProcessor,- SampleProducer
- Direct Known Subclasses:
- LatencyVSRequestGraphConsumer,- ResponseTimeVSRequestGraphConsumer
The class AbstractOverTimeGraphConsumer provides a base class for over time
 graphs.
- Since:
- 3.0
- 
Field SummaryFieldsFields inherited from class org.apache.jmeter.report.processor.graph.AbstractGraphConsumerDEFAULT_AGGREGATED_KEYS_SERIES_FORMAT, DEFAULT_GROUP, DEFAULT_OVERALL_SERIES_FORMAT, RESULT_MAX_X, RESULT_MAX_Y, RESULT_MIN_X, RESULT_MIN_Y, RESULT_SERIES, RESULT_SERIES_DATA, RESULT_SERIES_IS_CONTROLLER, RESULT_SERIES_IS_OVERALL, RESULT_SERIES_NAME, RESULT_SUPPORTS_CONTROLLERS_DISCRIMINATION, RESULT_TITLE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedInstantiates a new abstract over time graph consumer.
- 
Method SummaryModifier and TypeMethodDescriptionvoidConsumes the specified sample ton the specified channel.longGets the granularity.voidprotected voidinitializeExtraResults(MapResultData parentResult) Inherited classes can add properties to the resultvoidsetConsumedMetadata(SampleMetadata sampleMetadata, int channel) Set the metadata of samples that will be consumed on the specified channel.final voidsetGranularity(long granularity) Sets the granularity.voidStart the sample consuming.voidStops the consuming process.voidMethods inherited from class org.apache.jmeter.report.processor.graph.AbstractGraphConsumercreateGroupInfos, createKeysSelector, createSerieResult, getAggregatedKeysSeriesFormat, getGroupInfos, getInvertsKeysAndValues, getKeysSelector, getOverallSeriesFormat, getTitle, rendersPercentiles, setAggregatedKeysSeriesFormat, setOverallSeriesFormat, setRenderPercentiles, setRevertKeysAndValues, setTitleMethods inherited from class org.apache.jmeter.report.processor.AbstractSampleConsumeraddSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, 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
- 
Field Details- 
RESULT_CTX_GRANULARITY- See Also:
 
- 
TIME_INTERVAL_LABEL- See Also:
 
 
- 
- 
Constructor Details- 
AbstractVersusRequestsGraphConsumerprotected AbstractVersusRequestsGraphConsumer()Instantiates a new abstract over time graph consumer.
 
- 
- 
Method Details- 
getGranularitypublic long getGranularity()Gets the granularity.- Returns:
- the granularity
 
- 
setGranularitypublic final void setGranularity(long granularity) Sets the granularity.- Parameters:
- granularity- the granularity to set
 
- 
startConsumingpublic void startConsuming()Description copied from interface:SampleConsumerStart the sample consuming. This step is used by consumer to initialize their process.- Specified by:
- startConsumingin interface- SampleConsumer
- Overrides:
- startConsumingin class- AbstractGraphConsumer
 
- 
initializepublic void initialize()- Overrides:
- initializein class- AbstractGraphConsumer
 
- 
setConsumedMetadataDescription copied from interface:SampleConsumerSet the metadata of samples that will be consumed on the specified channel.- Specified by:
- setConsumedMetadatain interface- SampleConsumer
- Overrides:
- setConsumedMetadatain class- AbstractSampleConsumer
- Parameters:
- sampleMetadata- The sample metadata that are being consumed for the associated channel
- channel- The channel whose sample metadata are being defined
 
- 
consumeDescription copied from interface:SampleConsumerConsumes the specified sample ton the specified channel.- Specified by:
- consumein interface- SampleConsumer
- Overrides:
- consumein class- AbstractGraphConsumer
- 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.- Specified by:
- stopConsumingin interface- SampleConsumer
- Overrides:
- stopConsumingin class- AbstractGraphConsumer
 
- 
stopConsumingBasepublic void stopConsumingBase()
- 
initializeExtraResultsDescription copied from class:AbstractGraphConsumerInherited classes can add properties to the result- Specified by:
- initializeExtraResultsin class- AbstractGraphConsumer
- Parameters:
- parentResult- the parent result
 
 
-