T
- the stress bench parameterS
- the Bench Summarypublic abstract class AbstractMaxThroughputSummary<T extends Parameters,S extends GeneralBenchSummary> extends Object implements Summary, TaskResult
Modifier and Type | Class and Description |
---|---|
static class |
AbstractMaxThroughputSummary.GraphGenerator
The graph generator for this summary.
|
TaskResult.Aggregator<T extends TaskResult>
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.
|
TaskResult.Aggregator |
aggregator() |
BaseParameters |
getBaseParameters() |
long |
getEndTimeMs() |
List<String> |
getErrors() |
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()
public void setFailedRuns(Map<Long,S> failedRuns)
failedRuns
- the Map(target throughput -> summary) of failed runspublic TaskResult.Aggregator aggregator()
aggregator
in interface TaskResult
public List<String> getErrors()
getErrors
in interface TaskResult
public BaseParameters getBaseParameters()
getBaseParameters
in interface TaskResult
Copyright © 2023. All Rights Reserved.