Package alluxio.stress.fuse
Class FuseIOSummary
- java.lang.Object
-
- alluxio.stress.fuse.FuseIOSummary
-
-
Constructor Summary
Constructors Constructor Description FuseIOSummary()Default constructor required for json deserialization.FuseIOSummary(FuseIOParameters parameters, BaseParameters baseParameters, java.util.List<java.lang.String> nodes, java.util.Map<java.lang.String,java.util.List<java.lang.String>> errors, long recordStartMs, long endMs, long ioBytes, float ioMBps, java.util.Map<java.lang.String,java.lang.Float> clientsThroughput)Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseParametersgetBaseParameters()java.util.Map<java.lang.String,java.lang.Float>getClientsThroughput()longgetEndMs()java.util.Map<java.lang.String,java.util.List<java.lang.String>>getErrors()longgetIOBytes()floatgetIOMBps()java.util.List<java.lang.String>getNodes()FuseIOParametersgetParameters()longgetRecordStartMs()GraphGeneratorgraphGenerator()voidsetBaseParameters(BaseParameters baseParameters)voidsetClientsThroughput(java.util.Map<java.lang.String,java.lang.Float> clientsThroughput)voidsetEndMs(long endMs)voidsetErrors(java.util.Map<java.lang.String,java.util.List<java.lang.String>> errors)voidsetIOBytes(long ioBytes)voidsetIOMBps(float ioMBps)voidsetNodes(java.util.List<java.lang.String> nodes)voidsetParameters(FuseIOParameters parameters)voidsetRecordStartMs(long recordStartMs)
-
-
-
Constructor Detail
-
FuseIOSummary
public FuseIOSummary()
Default constructor required for json deserialization.
-
FuseIOSummary
public FuseIOSummary(FuseIOParameters parameters, BaseParameters baseParameters, java.util.List<java.lang.String> nodes, java.util.Map<java.lang.String,java.util.List<java.lang.String>> errors, long recordStartMs, long endMs, long ioBytes, float ioMBps, java.util.Map<java.lang.String,java.lang.Float> clientsThroughput)
Creates an instance.- Parameters:
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
-
-
Method Detail
-
graphGenerator
@Nullable public GraphGenerator graphGenerator()
- Specified by:
graphGeneratorin interfaceSummary- Returns:
- the graph generator for this type of summary
-
getClientsThroughput
public java.util.Map<java.lang.String,java.lang.Float> getClientsThroughput()
- Returns:
- a map mapping job worker unique id to its throughput
-
setClientsThroughput
public void setClientsThroughput(java.util.Map<java.lang.String,java.lang.Float> clientsThroughput)
- Parameters:
clientsThroughput- the map mapping job worker unique id to its throughput
-
getNodes
public java.util.List<java.lang.String> getNodes()
- Returns:
- the list of the unique ids of job workers
-
setNodes
public void setNodes(java.util.List<java.lang.String> nodes)
- Parameters:
nodes- the list of the unique ids of job workers
-
getErrors
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getErrors()
- Returns:
- the list of errors
-
setErrors
public void setErrors(java.util.Map<java.lang.String,java.util.List<java.lang.String>> errors)
- Parameters:
errors- the list of errors
-
getParameters
public FuseIOParameters getParameters()
- Returns:
- Fuse IO stress bench parameters
-
setParameters
public void setParameters(FuseIOParameters parameters)
- Parameters:
parameters- Fuse IO stress bench parameters
-
getBaseParameters
public BaseParameters getBaseParameters()
- Returns:
- the base parameters
-
setBaseParameters
public void setBaseParameters(BaseParameters baseParameters)
- Parameters:
baseParameters- the base parameters
-
getRecordStartMs
public long getRecordStartMs()
- Returns:
- the timestamp starting counting bytes (in ms)
-
setRecordStartMs
public void setRecordStartMs(long recordStartMs)
- Parameters:
recordStartMs- the timestamp starting counting bytes (in ms)
-
getEndMs
public long getEndMs()
- Returns:
- the timestamp that test ends (in ms)
-
setEndMs
public void setEndMs(long endMs)
- Parameters:
endMs- the timestamp that test ends (in ms)
-
getIOBytes
public long getIOBytes()
- Returns:
- total number of bytes processed during test time
-
setIOBytes
public void setIOBytes(long ioBytes)
- Parameters:
ioBytes- total number of bytes processed during test time
-
getIOMBps
public float getIOMBps()
- Returns:
- overall throughput (in MB / s)
-
setIOMBps
public void setIOMBps(float ioMBps)
- Parameters:
ioMBps- overall throughput (in MB / s)
-
-