public final class MasterBenchSummary extends Object implements Summary
Modifier and Type | Class and Description |
---|---|
static class |
MasterBenchSummary.GraphGenerator
The graph generator for this summary.
|
CLASS_NAME_FIELD
Constructor and Description |
---|
MasterBenchSummary()
Creates an instance.
|
MasterBenchSummary(MasterBenchTaskResult mergedTaskResults,
List<String> nodes,
Map<String,List<String>> errors)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getDurationMs() |
long |
getEndTimeMs() |
Map<String,List<String>> |
getErrors() |
List<String> |
getNodes() |
MasterBenchParameters |
getParameters() |
SummaryStatistics |
getStatistics() |
Map<String,SummaryStatistics> |
getStatisticsPerMethod() |
float |
getThroughput() |
GraphGenerator |
graphGenerator() |
void |
setDurationMs(long durationMs) |
void |
setEndTimeMs(long endTimeMs) |
void |
setErrors(Map<String,List<String>> errors) |
void |
setNodes(List<String> nodes) |
void |
setParameters(MasterBenchParameters parameters) |
void |
setStatistics(SummaryStatistics statistics) |
void |
setStatisticsPerMethod(Map<String,SummaryStatistics> statisticsPerMethod) |
void |
setThroughput(float throughput) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public MasterBenchSummary()
public MasterBenchSummary(MasterBenchTaskResult mergedTaskResults, List<String> nodes, Map<String,List<String>> errors) throws DataFormatException
mergedTaskResults
- the merged task resultnodes
- the list of nodeserrors
- the list of errorsDataFormatException
public float getThroughput()
public void setThroughput(float throughput)
throughput
- the throughputpublic 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()
graphGenerator
in interface Summary
Copyright © 2023. All Rights Reserved.