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
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
RESULT_CTX_GRANULARITY
public final static String
TIME_INTERVAL_LABEL
public long
granularity
public final static String
RESULT_MIN_X
public final static String
RESULT_MAX_X
public final static String
RESULT_MIN_Y
public final static String
RESULT_MAX_Y
public final static String
RESULT_TITLE
public final static String
RESULT_SUPPORTS_CONTROLLERS_DISCRIMINATION
public final static String
RESULT_SERIES
public final static String
RESULT_SERIES_NAME
public final static String
RESULT_SERIES_DATA
public final static String
RESULT_SERIES_IS_CONTROLLER
public final static String
RESULT_SERIES_IS_OVERALL
public final static String
DEFAULT_OVERALL_SERIES_FORMAT
public final static String
DEFAULT_AGGREGATED_KEYS_SERIES_FORMAT
public String
overallSeriesFormat
public String
aggregatedKeysSeriesFormat
public String
title
public String
name
public SampleContext
sampleContext
-
Method Summary
Modifier and Type Method Description long
getGranularity()
Gets the granularity. final void
setGranularity(long granularity)
Sets the granularity. void
startConsuming()
Start the sample consuming. void
initialize()
void
setConsumedMetadata(SampleMetadata sampleMetadata, int channel)
Set the metadata of samples that will be consumed on the specified channel. void
consume(Sample sample, int channel)
Consumes the specified sample ton the specified channel. void
stopConsuming()
Stops the consuming process. void
stopConsumingBase()
-
Methods inherited from class org.apache.jmeter.report.processor.graph.AbstractGraphConsumer
getAggregatedKeysSeriesFormat, getOverallSeriesFormat, getTitle, rendersPercentiles, setAggregatedKeysSeriesFormat, setOverallSeriesFormat, setRenderPercentiles, setTitle
-
Methods inherited from class org.apache.jmeter.report.processor.AbstractSampleConsumer
addSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducing
-
Methods inherited from class org.apache.jmeter.report.processor.AbstractSampleProcessor
getChannelAttribute, getSampleContext
-
Methods inherited from class org.apache.jmeter.report.processor.SampleConsumer
consume
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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.
-
initialize
void initialize()
-
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 channelchannel
- 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.
-
stopConsumingBase
void stopConsumingBase()
-
-
-
-