public final class ClientIOTaskResult extends Object implements TaskResult, Summary
Modifier and Type | Class and Description |
---|---|
static class |
ClientIOTaskResult.GraphGenerator
The graph generator for this summary.
|
static class |
ClientIOTaskResult.ThreadCountResult
A result for a single thread count test.
|
CLASS_NAME_FIELD
Constructor and Description |
---|
ClientIOTaskResult()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addThreadCountResults(int threadCount,
ClientIOTaskResult.ThreadCountResult threadCountResult) |
TaskResult.Aggregator |
aggregator() |
BaseParameters |
getBaseParameters() |
long |
getEndMs() |
List<String> |
getErrors() |
ClientIOParameters |
getParameters() |
long |
getRecordStartMs() |
Map<Integer,ClientIOTaskResult.ThreadCountResult> |
getThreadCountResults() |
Map<Integer,Map<String,SummaryStatistics>> |
getTimeToFirstBytePerThread() |
GraphGenerator |
graphGenerator() |
void |
putTimeToFirstBytePerThread(Integer numThreads,
Map<String,SummaryStatistics> statistics) |
void |
setBaseParameters(BaseParameters baseParameters) |
void |
setEndMs(long endMs) |
void |
setParameters(ClientIOParameters parameters) |
void |
setRecordStartMs(long recordStartMs) |
void |
setThreadCountResults(Map<Integer,ClientIOTaskResult.ThreadCountResult> threadCountResults) |
void |
setTimeToFirstBytePerThread(Map<Integer,Map<String,SummaryStatistics>> timeToFirstByte) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public BaseParameters getBaseParameters()
getBaseParameters
in interface TaskResult
public void setBaseParameters(BaseParameters baseParameters)
baseParameters
- the base parameterspublic ClientIOParameters getParameters()
public void setParameters(ClientIOParameters parameters)
parameters
- the parameterspublic long getRecordStartMs()
public void setRecordStartMs(long recordStartMs)
recordStartMs
- the start time (in ms)public Map<Integer,Map<String,SummaryStatistics>> getTimeToFirstBytePerThread()
public void setTimeToFirstBytePerThread(Map<Integer,Map<String,SummaryStatistics>> timeToFirstByte)
timeToFirstByte
- time to first statisticspublic void putTimeToFirstBytePerThread(Integer numThreads, Map<String,SummaryStatistics> statistics)
numThreads
- thread countstatistics
- ClientIOTaskResultStatisticspublic long getEndMs()
public void setEndMs(long endMs)
endMs
- the end time (in ms)public Map<Integer,ClientIOTaskResult.ThreadCountResult> getThreadCountResults()
public void setThreadCountResults(Map<Integer,ClientIOTaskResult.ThreadCountResult> threadCountResults)
threadCountResults
- the map of thread counts to resultspublic void addThreadCountResults(int threadCount, ClientIOTaskResult.ThreadCountResult threadCountResult)
threadCount
- the thread count of the resultsthreadCountResult
- the results to addpublic List<String> getErrors()
getErrors
in interface TaskResult
public TaskResult.Aggregator aggregator()
aggregator
in interface TaskResult
public GraphGenerator graphGenerator()
graphGenerator
in interface Summary
Copyright © 2023. All Rights Reserved.