T - the stress bench parameterS - the Bench Summarypublic abstract class AbstractMaxThroughputSummary<T extends Parameters,S extends GeneralBenchSummary> extends java.lang.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() |
java.util.List<java.lang.String> |
getErrors() |
java.util.Map<java.lang.Long,S> |
getFailedRuns() |
float |
getMaxThroughput() |
T |
getParameters() |
java.util.Map<java.lang.Long,S> |
getPassedRuns() |
GraphGenerator |
graphGenerator() |
void |
setEndTimeMs(long endTimeMs) |
void |
setFailedRuns(java.util.Map<java.lang.Long,S> failedRuns) |
void |
setMaxThroughput(float maxThroughput) |
void |
setParameters(T parameters) |
void |
setPassedRuns(java.util.Map<java.lang.Long,S> passedRuns) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromJson, fromJson, getClassName, setClassName, toJsonpublic 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 Summarypublic T getParameters()
public void setParameters(T parameters)
parameters - the parameterspublic void addPassedRun(long targetThroughput,
S summary)
targetThroughput - the target throughputsummary - the summarypublic java.util.Map<java.lang.Long,S> getPassedRuns()
public void setPassedRuns(java.util.Map<java.lang.Long,S> passedRuns)
passedRuns - the Map(target throughput -> summary) of passed runspublic void addFailedRun(long targetThroughput,
S summary)
targetThroughput - the target throughputsummary - the summarypublic java.util.Map<java.lang.Long,S> getFailedRuns()
public void setFailedRuns(java.util.Map<java.lang.Long,S> failedRuns)
failedRuns - the Map(target throughput -> summary) of failed runspublic TaskResult.Aggregator aggregator()
aggregator in interface TaskResultpublic java.util.List<java.lang.String> getErrors()
getErrors in interface TaskResultpublic BaseParameters getBaseParameters()
getBaseParameters in interface TaskResultCopyright © 2023. All Rights Reserved.