public final class JobServiceBenchSummary extends Object implements Summary
Modifier and Type | Class and Description |
---|---|
static class |
JobServiceBenchSummary.GraphGenerator
The graph generator for this summary.
|
CLASS_NAME_FIELD
Constructor and Description |
---|
JobServiceBenchSummary()
Creates an instance.
|
JobServiceBenchSummary(JobServiceBenchTaskResult 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() |
JobServiceBenchParameters |
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(JobServiceBenchParameters 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 JobServiceBenchSummary()
public JobServiceBenchSummary(JobServiceBenchTaskResult 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 JobServiceBenchParameters getParameters()
public void setParameters(JobServiceBenchParameters 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.