public final class MasterBenchSummary extends GeneralBenchSummary<MasterBenchTaskResult>
| Modifier and Type | Class and Description |
|---|---|
static class |
MasterBenchSummary.GraphGenerator
The graph generator for this summary.
|
mNodeResults, mThroughputCLASS_NAME_FIELD| Constructor and Description |
|---|
MasterBenchSummary()
Creates an instance.
|
MasterBenchSummary(MasterBenchTaskResult mergedTaskResults,
java.util.Map<java.lang.String,MasterBenchTaskResult> nodes)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getDurationMs() |
long |
getEndTimeMs() |
MasterBenchParameters |
getParameters() |
SummaryStatistics |
getStatistics() |
java.util.Map<java.lang.String,SummaryStatistics> |
getStatisticsPerMethod() |
GraphGenerator |
graphGenerator() |
void |
setDurationMs(long durationMs) |
void |
setEndTimeMs(long endTimeMs) |
void |
setParameters(MasterBenchParameters parameters) |
void |
setStatistics(SummaryStatistics statistics) |
void |
setStatisticsPerMethod(java.util.Map<java.lang.String,SummaryStatistics> statisticsPerMethod) |
collectErrorsFromAllNodes, getNodeResults, getThroughput, setNodeResults, setThroughputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromJson, fromJson, getClassName, setClassName, toJsonpublic MasterBenchSummary()
public MasterBenchSummary(MasterBenchTaskResult mergedTaskResults, java.util.Map<java.lang.String,MasterBenchTaskResult> nodes) throws java.util.zip.DataFormatException
mergedTaskResults - the merged task resultnodes - the map storing the nodes' resultjava.util.zip.DataFormatExceptionpublic long getDurationMs()
public void setDurationMs(long durationMs)
durationMs - the duration (in ms)public MasterBenchParameters getParameters()
public void setParameters(MasterBenchParameters parameters)
parameters - the parameterspublic long getEndTimeMs()
public void setEndTimeMs(long endTimeMs)
endTimeMs - the end time (in ms)public SummaryStatistics getStatistics()
public void setStatistics(SummaryStatistics statistics)
statistics - the statisticspublic java.util.Map<java.lang.String,SummaryStatistics> getStatisticsPerMethod()
public void setStatisticsPerMethod(java.util.Map<java.lang.String,SummaryStatistics> statisticsPerMethod)
statisticsPerMethod - the statistics per method mappublic GraphGenerator graphGenerator()
Copyright © 2023. All Rights Reserved.