public final class MaxThroughputSummary extends Object implements Summary
Modifier and Type | Class and Description |
---|---|
static class |
MaxThroughputSummary.GraphGenerator
The graph generator for this summary.
|
CLASS_NAME_FIELD
Constructor and Description |
---|
MaxThroughputSummary()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addFailedRun(long targetThroughput,
MasterBenchSummary summary)
Adds a failing run to the summary, for a target throughput.
|
void |
addPassedRun(long targetThroughput,
MasterBenchSummary summary)
Adds a passing run to the summary, for a target throughput.
|
long |
getEndTimeMs() |
Map<Long,MasterBenchSummary> |
getFailedRuns() |
float |
getMaxThroughput() |
MasterBenchParameters |
getParameters() |
Map<Long,MasterBenchSummary> |
getPassedRuns() |
GraphGenerator |
graphGenerator() |
void |
setEndTimeMs(long endTimeMs) |
void |
setFailedRuns(Map<Long,MasterBenchSummary> failedRuns) |
void |
setMaxThroughput(float maxThroughput) |
void |
setParameters(MasterBenchParameters parameters) |
void |
setPassedRuns(Map<Long,MasterBenchSummary> passedRuns) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public float getMaxThroughput()
public void setMaxThroughput(float maxThroughput)
maxThroughput
- the max throughputpublic MasterBenchParameters getParameters()
public void setParameters(MasterBenchParameters parameters)
parameters
- the parameterspublic long getEndTimeMs()
public void setEndTimeMs(long endTimeMs)
endTimeMs
- the end time (in ms)public void addPassedRun(long targetThroughput, MasterBenchSummary summary)
targetThroughput
- the target throughputsummary
- the summarypublic Map<Long,MasterBenchSummary> getPassedRuns()
public void setPassedRuns(Map<Long,MasterBenchSummary> passedRuns)
passedRuns
- the Map(target throughput -> summary) of passed runspublic void addFailedRun(long targetThroughput, MasterBenchSummary summary)
targetThroughput
- the target throughputsummary
- the summarypublic Map<Long,MasterBenchSummary> getFailedRuns()
public void setFailedRuns(Map<Long,MasterBenchSummary> failedRuns)
failedRuns
- the Map(target throughput -> summary) of failed runspublic GraphGenerator graphGenerator()
graphGenerator
in interface Summary
Copyright © 2023. All Rights Reserved.