public final class JobServiceBenchSummary extends GeneralBenchSummary
Modifier and Type | Class and Description |
---|---|
static class |
JobServiceBenchSummary.GraphGenerator
The graph generator for this summary.
|
mErrors, mThroughput
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() |
List<String> |
getNodes() |
JobServiceBenchParameters |
getParameters() |
SummaryStatistics |
getStatistics() |
Map<String,SummaryStatistics> |
getStatisticsPerMethod() |
GraphGenerator |
graphGenerator() |
void |
setDurationMs(long durationMs) |
void |
setEndTimeMs(long endTimeMs) |
void |
setNodes(List<String> nodes) |
void |
setParameters(JobServiceBenchParameters parameters) |
void |
setStatistics(SummaryStatistics statistics) |
void |
setStatisticsPerMethod(Map<String,SummaryStatistics> statisticsPerMethod) |
getErrors, getThroughput, setErrors, setThroughput
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 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()
Copyright © 2023. All Rights Reserved.