public class FuseIOSummary extends Object implements Summary
CLASS_NAME_FIELD
Constructor and Description |
---|
FuseIOSummary()
Default constructor required for json deserialization.
|
FuseIOSummary(FuseIOParameters parameters,
BaseParameters baseParameters,
List<String> nodes,
Map<String,List<String>> errors,
long recordStartMs,
long endMs,
long ioBytes,
float ioMBps,
Map<String,Float> clientsThroughput)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
BaseParameters |
getBaseParameters() |
Map<String,Float> |
getClientsThroughput() |
long |
getEndMs() |
Map<String,List<String>> |
getErrors() |
long |
getIOBytes() |
float |
getIOMBps() |
List<String> |
getNodes() |
FuseIOParameters |
getParameters() |
long |
getRecordStartMs() |
GraphGenerator |
graphGenerator() |
void |
setBaseParameters(BaseParameters baseParameters) |
void |
setClientsThroughput(Map<String,Float> clientsThroughput) |
void |
setEndMs(long endMs) |
void |
setErrors(Map<String,List<String>> errors) |
void |
setIOBytes(long ioBytes) |
void |
setIOMBps(float ioMBps) |
void |
setNodes(List<String> nodes) |
void |
setParameters(FuseIOParameters parameters) |
void |
setRecordStartMs(long recordStartMs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public FuseIOSummary()
public FuseIOSummary(FuseIOParameters parameters, BaseParameters baseParameters, List<String> nodes, Map<String,List<String>> errors, long recordStartMs, long endMs, long ioBytes, float ioMBps, Map<String,Float> clientsThroughput)
parameters
- the parameters for the Fuse IO stress benchbaseParameters
- the base parameters for the Fuse IO stress benchnodes
- the unique ids of all job workerserrors
- all errors reported by job workersrecordStartMs
- the timestamp starting counting bytesendMs
- the timestamp that the test endsioBytes
- total number of bytes processed by workersioMBps
- aggregated throughput dataclientsThroughput
- the throughput data of each job worker@Nullable public GraphGenerator graphGenerator()
graphGenerator
in interface Summary
public Map<String,Float> getClientsThroughput()
public void setClientsThroughput(Map<String,Float> clientsThroughput)
clientsThroughput
- the map mapping job worker unique id to its throughputpublic void setNodes(List<String> nodes)
nodes
- the list of the unique ids of job workerspublic void setErrors(Map<String,List<String>> errors)
errors
- the list of errorspublic FuseIOParameters getParameters()
public void setParameters(FuseIOParameters parameters)
parameters
- Fuse IO stress bench parameterspublic BaseParameters getBaseParameters()
public void setBaseParameters(BaseParameters baseParameters)
baseParameters
- the base parameterspublic long getRecordStartMs()
public void setRecordStartMs(long recordStartMs)
recordStartMs
- the timestamp starting counting bytes (in ms)public long getEndMs()
public void setEndMs(long endMs)
endMs
- the timestamp that test ends (in ms)public long getIOBytes()
public void setIOBytes(long ioBytes)
ioBytes
- total number of bytes processed during test timepublic float getIOMBps()
public void setIOMBps(float ioMBps)
ioMBps
- overall throughput (in MB / s)Copyright © 2023. All Rights Reserved.