public abstract class AbstractVersusRequestsGraphConsumer extends AbstractGraphConsumer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RESULT_CTX_GRANULARITY |
static java.lang.String |
TIME_INTERVAL_LABEL |
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| Modifier | Constructor and Description |
|---|---|
protected |
AbstractVersusRequestsGraphConsumer()
Instantiates a new abstract over time graph consumer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Sample sample,
int channel)
Consumes the specified sample ton the specified channel.
|
long |
getGranularity()
Gets the granularity.
|
protected void |
initializeExtraResults(MapResultData parentResult)
Inherited classes can add properties to the result
|
void |
setConsumedMetadata(SampleMetadata sampleMetadata,
int channel)
Set the metadata of samples that will be consumed on the specified
channel.
|
void |
setGranularity(long granularity)
Sets the granularity.
|
void |
startConsuming()
Start the sample consuming.
|
void |
stopConsuming()
Stops the consuming process.
|
void |
stopConsumingBase() |
createGroupInfos, createKeysSelector, getAggregatedKeysSeriesFormat, getGroupInfos, getKeysSelector, getOverallSeriesFormat, getTitle, rendersPercentiles, revertsKeysAndValues, setAggregatedKeysSeriesFormat, setOverallSeriesFormat, setRenderPercentiles, setRevertKeysAndValues, setTitleaddSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setDataToContext, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducinggetChannelAttribute, getSampleContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChannelAttribute, getSampleContextpublic static final java.lang.String RESULT_CTX_GRANULARITY
public static final java.lang.String TIME_INTERVAL_LABEL
protected AbstractVersusRequestsGraphConsumer()
public long getGranularity()
public final void setGranularity(long granularity)
granularity - the granularity to setpublic void startConsuming()
SampleConsumerstartConsuming in interface SampleConsumerstartConsuming in class AbstractGraphConsumerpublic void setConsumedMetadata(SampleMetadata sampleMetadata, int channel)
SampleConsumersetConsumedMetadata in interface SampleConsumersetConsumedMetadata in class AbstractSampleConsumersampleMetadata - The sample metadata that are beeing consumed for the
associated channelchannel - The channel whose sample metadata are beeing definedpublic void consume(Sample sample, int channel)
SampleConsumerconsume in interface SampleConsumerconsume in class AbstractGraphConsumersample - The sample to be consumedchannel - The channel on which the sample is consumedpublic void stopConsuming()
SampleConsumerstopConsuming in interface SampleConsumerstopConsuming in class AbstractGraphConsumerpublic void stopConsumingBase()
protected void initializeExtraResults(MapResultData parentResult)
AbstractGraphConsumerinitializeExtraResults in class AbstractGraphConsumerparentResult - the parent resultCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.