public abstract class AbstractOverTimeGraphConsumer extends AbstractGraphConsumer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESULT_CTX_GRANULARITY |
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 |
AbstractOverTimeGraphConsumer()
Instantiates a new abstract over time graph consumer.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Map<java.lang.String,GroupInfo> |
createGroupInfos() |
protected GraphKeysSelector |
createKeysSelector() |
protected abstract TimeStampKeysSelector |
createTimeStampKeysSelector()
Creates the time stamp keys selector.
|
long |
getGranularity()
Gets the granularity.
|
void |
initialize() |
protected void |
initializeExtraResults(MapResultData parentResult)
Inherited classes can add properties to the result
|
void |
setGranularity(long granularity)
Sets the granularity.
|
consume, createSerieResult, getAggregatedKeysSeriesFormat, getGroupInfos, getInvertsKeysAndValues, getKeysSelector, getOverallSeriesFormat, getTitle, rendersPercentiles, setAggregatedKeysSeriesFormat, setOverallSeriesFormat, setRenderPercentiles, setRevertKeysAndValues, setTitle, startConsuming, stopConsuming
addSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setConsumedMetadata, setDataToContext, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducing
getChannelAttribute, getSampleContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChannelAttribute, getSampleContext
public static final java.lang.String RESULT_CTX_GRANULARITY
protected AbstractOverTimeGraphConsumer()
public long getGranularity()
public void setGranularity(long granularity)
granularity
- the granularity to setprotected abstract TimeStampKeysSelector createTimeStampKeysSelector()
protected final GraphKeysSelector createKeysSelector()
createKeysSelector
in class AbstractGraphConsumer
protected abstract java.util.Map<java.lang.String,GroupInfo> createGroupInfos()
createGroupInfos
in class AbstractGraphConsumer
protected void initializeExtraResults(MapResultData parentResult)
AbstractGraphConsumer
initializeExtraResults
in class AbstractGraphConsumer
parentResult
- the parent resultpublic void initialize()
initialize
in class AbstractGraphConsumer
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.