Class AbstractOverTimeGraphConsumer
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.AbstractOverTimeGraphConsumer
- All Implemented Interfaces:
SampleConsumer,SampleProcessor,SampleProducer
- Direct Known Subclasses:
ActiveThreadsGraphConsumer,BytesThroughputGraphConsumer,CodesPerSecondGraphConsumer,ConnectTimeOverTimeGraphConsumer,CustomGraphConsumer,HitsPerSecondGraphConsumer,LatencyOverTimeGraphConsumer,ResponseCustomGraphGraphConsumer,ResponseTimeOverTimeGraphConsumer,ResponseTimePercentilesOverTimeGraphConsumer,TotalTPSGraphConsumer,TransactionsPerSecondGraphConsumer
The class AbstractOverTimeGraphConsumer provides a base class for over time
graphs.
- Since:
- 3.0
-
Field Summary
FieldsFields inherited from class org.apache.jmeter.report.processor.graph.AbstractGraphConsumer
DEFAULT_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 Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new abstract over time graph consumer. -
Method Summary
Modifier and TypeMethodDescriptionprotected final GraphKeysSelectorprotected abstract TimeStampKeysSelectorCreates the time stamp keys selector.longGets the granularity.voidprotected voidinitializeExtraResults(MapResultData parentResult) Inherited classes can add properties to the resultvoidsetGranularity(long granularity) Sets the granularity.Methods inherited from class org.apache.jmeter.report.processor.graph.AbstractGraphConsumer
consume, createSerieResult, getAggregatedKeysSeriesFormat, getGroupInfos, getInvertsKeysAndValues, getKeysSelector, getOverallSeriesFormat, getTitle, rendersPercentiles, setAggregatedKeysSeriesFormat, setOverallSeriesFormat, setRenderPercentiles, setRevertKeysAndValues, setTitle, startConsuming, stopConsumingMethods inherited from class org.apache.jmeter.report.processor.AbstractSampleConsumer
addSampleConsumer, 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.AbstractSampleProcessor
getChannelAttribute, getSampleContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.report.processor.SampleProcessor
getChannelAttribute, getSampleContext
-
Field Details
-
RESULT_CTX_GRANULARITY
- See Also:
-
-
Constructor Details
-
AbstractOverTimeGraphConsumer
protected AbstractOverTimeGraphConsumer()Instantiates a new abstract over time graph consumer.
-
-
Method Details
-
getGranularity
public long getGranularity()Gets the granularity.- Returns:
- the granularity
-
setGranularity
public void setGranularity(long granularity) Sets the granularity.- Parameters:
granularity- the granularity to set
-
createTimeStampKeysSelector
Creates the time stamp keys selector.- Returns:
- the time stamp keys selector
-
createKeysSelector
- Specified by:
createKeysSelectorin classAbstractGraphConsumer
-
createGroupInfos
- Specified by:
createGroupInfosin classAbstractGraphConsumer
-
initializeExtraResults
Description copied from class:AbstractGraphConsumerInherited classes can add properties to the result- Specified by:
initializeExtraResultsin classAbstractGraphConsumer- Parameters:
parentResult- the parent result
-
initialize
public void initialize()- Overrides:
initializein classAbstractGraphConsumer
-