public final class MasterBenchTaskResult extends MasterBenchTaskResultBase<MasterBenchParameters>
mBaseParameters, mDurationMs, mEndMs, mErrors, mParameters, mRecordStartMsCLASS_NAME_FIELD| Constructor and Description |
|---|
MasterBenchTaskResult()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
TaskResult.Aggregator |
aggregator() |
MasterBenchTaskResultStatistics |
getStatistics() |
java.util.Map<java.lang.String,MasterBenchTaskResultStatistics> |
getStatisticsPerMethod() |
void |
incrementNumSuccess(long numSuccess)
Increments the number of successes by an amount.
|
void |
putStatisticsForMethod(java.lang.String method,
MasterBenchTaskResultStatistics statistics) |
void |
setStatistics(MasterBenchTaskResultStatistics statistics) |
void |
setStatisticsPerMethod(java.util.Map<java.lang.String,MasterBenchTaskResultStatistics> statisticsPerMethod) |
addErrorMessage, aggregateByWorker, getBaseParameters, getDurationMs, getEndMs, getErrors, getParameters, getRecordStartMs, merge, setBaseParameters, setDurationMs, setEndMs, setErrors, setParameters, setRecordStartMsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromJson, fromJson, getClassName, setClassName, toJsonpublic void incrementNumSuccess(long numSuccess)
numSuccess - the amount to increment bypublic MasterBenchTaskResultStatistics getStatistics()
public void setStatistics(MasterBenchTaskResultStatistics statistics)
statistics - the statisticspublic java.util.Map<java.lang.String,MasterBenchTaskResultStatistics> getStatisticsPerMethod()
public void setStatisticsPerMethod(java.util.Map<java.lang.String,MasterBenchTaskResultStatistics> statisticsPerMethod)
statisticsPerMethod - the statistics per methodpublic void putStatisticsForMethod(java.lang.String method,
MasterBenchTaskResultStatistics statistics)
putStatisticsForMethod in class MasterBenchTaskResultBase<MasterBenchParameters>method - the name of the method to insert statistics forstatistics - the statistics for the methodpublic TaskResult.Aggregator aggregator()
Copyright © 2023. All Rights Reserved.