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