public final class MasterBenchSummary extends GeneralBenchSummary<MasterBenchTaskResult>
Modifier and Type | Class and Description |
---|---|
static class |
MasterBenchSummary.GraphGenerator
The graph generator for this summary.
|
mNodeResults, mThroughput
CLASS_NAME_FIELD
Constructor and Description |
---|
MasterBenchSummary()
Creates an instance.
|
MasterBenchSummary(MasterBenchTaskResult mergedTaskResults,
Map<String,MasterBenchTaskResult> nodes)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getDurationMs() |
long |
getEndTimeMs() |
MasterBenchParameters |
getParameters() |
SummaryStatistics |
getStatistics() |
Map<String,SummaryStatistics> |
getStatisticsPerMethod() |
GraphGenerator |
graphGenerator() |
void |
setDurationMs(long durationMs) |
void |
setEndTimeMs(long endTimeMs) |
void |
setParameters(MasterBenchParameters parameters) |
void |
setStatistics(SummaryStatistics statistics) |
void |
setStatisticsPerMethod(Map<String,SummaryStatistics> statisticsPerMethod) |
collectErrorsFromAllNodes, getNodeResults, getThroughput, setNodeResults, setThroughput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public MasterBenchSummary()
public MasterBenchSummary(MasterBenchTaskResult mergedTaskResults, Map<String,MasterBenchTaskResult> nodes) throws DataFormatException
mergedTaskResults
- the merged task resultnodes
- the map storing the nodes' resultDataFormatException
public 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 Map<String,SummaryStatistics> getStatisticsPerMethod()
public void setStatisticsPerMethod(Map<String,SummaryStatistics> statisticsPerMethod)
statisticsPerMethod
- the statistics per method mappublic GraphGenerator graphGenerator()
Copyright © 2023. All Rights Reserved.