public class ApdexSummaryConsumer extends AbstractSummaryConsumer<ApdexSummaryData>
The class ApdexSummaryConsumer provides a consumer that calculates Apdex for each sample name.
T and F thresholds for each sample is defined by the thresholds selector field.
AbstractSummaryConsumer.SummaryInfoRESULT_VALUE_DATA, RESULT_VALUE_IS_CONTROLLER, RESULT_VALUE_ITEMS, RESULT_VALUE_OVERALL, RESULT_VALUE_SUPPORTS_CONTROLLERS_DISCRIMINATION, RESULT_VALUE_TITLES| Constructor and Description |
|---|
ApdexSummaryConsumer() |
| Modifier and Type | Method and Description |
|---|---|
protected ListResultData |
createDataResult(String key,
ApdexSummaryData data)
Creates a result item for information identified by the specified key.
|
protected ListResultData |
createResultTitles()
Creates the result containing titles of columns.
|
protected String |
getKeyFromSample(Sample sample)
Gets the identifier key from sample.
This key is use identify the SummaryInfo linked with the sample |
ThresholdSelector |
getThresholdSelector() |
void |
setThresholdSelector(ThresholdSelector thresholdSelector) |
protected void |
updateData(AbstractSummaryConsumer.SummaryInfo info,
Sample sample)
Update the stored data with the data from the specified sample.
|
consume, getOverallInfo, getSummaryInfos, hasOverallResult, setHasOverallResult, startConsuming, stopConsuming, suppportsControllersDiscriminationaddSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setConsumedMetadata, setDataToContext, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducinggetChannelAttribute, getSampleContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChannelAttribute, getSampleContextpublic final ThresholdSelector getThresholdSelector()
public final void setThresholdSelector(ThresholdSelector thresholdSelector)
protected ListResultData createDataResult(String key, ApdexSummaryData data)
AbstractSummaryConsumercreateDataResult in class AbstractSummaryConsumer<ApdexSummaryData>key - the keydata - the dataprotected String getKeyFromSample(Sample sample)
AbstractSummaryConsumergetKeyFromSample in class AbstractSummaryConsumer<ApdexSummaryData>sample - the sampleprotected void updateData(AbstractSummaryConsumer.SummaryInfo info, Sample sample)
AbstractSummaryConsumerupdateData in class AbstractSummaryConsumer<ApdexSummaryData>info - SummaryInfosample - the sampleprotected ListResultData createResultTitles()
AbstractSummaryConsumercreateResultTitles in class AbstractSummaryConsumer<ApdexSummaryData>Copyright © 1998-2022 Apache Software Foundation. All Rights Reserved.