public final class JobServiceBenchSummary extends GeneralBenchSummary<JobServiceBenchTaskResult>
Modifier and Type | Class and Description |
---|---|
static class |
JobServiceBenchSummary.GraphGenerator
The graph generator for this summary.
|
mNodeResults, mThroughput
CLASS_NAME_FIELD
Constructor and Description |
---|
JobServiceBenchSummary()
Creates an instance.
|
JobServiceBenchSummary(JobServiceBenchTaskResult mergedTaskResults,
Map<String,JobServiceBenchTaskResult> nodes)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getDurationMs() |
long |
getEndTimeMs() |
JobServiceBenchParameters |
getParameters() |
SummaryStatistics |
getStatistics() |
Map<String,SummaryStatistics> |
getStatisticsPerMethod() |
GraphGenerator |
graphGenerator() |
void |
setDurationMs(long durationMs) |
void |
setEndTimeMs(long endTimeMs) |
void |
setParameters(JobServiceBenchParameters 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 JobServiceBenchSummary()
public JobServiceBenchSummary(JobServiceBenchTaskResult mergedTaskResults, Map<String,JobServiceBenchTaskResult> nodes) throws DataFormatException
mergedTaskResults
- the merged task resultnodes
- the list of nodesDataFormatException
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.