Package alluxio.stress.worker
Class IOTaskSummary
- java.lang.Object
-
- alluxio.stress.worker.IOTaskSummary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIOTaskSummary.GraphGeneratorA graph generator for the statistics collected.static classIOTaskSummary.SpeedStatAn object representation of all the statistics we need from this I/O test.
-
Constructor Summary
Constructors Constructor Description IOTaskSummary()Used for deserialization.IOTaskSummary(IOTaskResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseParametersgetBaseParameters()java.util.List<java.lang.String>getErrors()UfsIOParametersgetParameters()java.util.List<IOTaskResult.Point>getPoints()IOTaskSummary.SpeedStatgetReadSpeedStat()IOTaskSummary.SpeedStatgetWriteSpeedStat()IOTaskSummary.GraphGeneratorgraphGenerator()voidsetBaseParameters(BaseParameters baseParameters)voidsetErrors(java.util.List<java.lang.String> errors)voidsetParameters(UfsIOParameters parameters)voidsetPoints(java.util.List<IOTaskResult.Point> points)voidsetReadSpeedStat(IOTaskSummary.SpeedStat stat)voidsetWriteSpeedStat(IOTaskSummary.SpeedStat stat)java.lang.StringtoString()
-
-
-
Constructor Detail
-
IOTaskSummary
public IOTaskSummary()
Used for deserialization.
-
IOTaskSummary
public IOTaskSummary(IOTaskResult result)
- Parameters:
result- theIOTaskResultto summarize
-
-
Method Detail
-
getPoints
public java.util.List<IOTaskResult.Point> getPoints()
- Returns:
- the points recorded
-
setPoints
public void setPoints(java.util.List<IOTaskResult.Point> points)
- Parameters:
points- the data points
-
getErrors
public java.util.List<java.lang.String> getErrors()
- Returns:
- the errors recorded
-
setErrors
public void setErrors(java.util.List<java.lang.String> errors)
- Parameters:
errors- the errors
-
getBaseParameters
public BaseParameters getBaseParameters()
- Returns:
- the
BaseParameters
-
setBaseParameters
public void setBaseParameters(BaseParameters baseParameters)
- Parameters:
baseParameters- theBaseParameters
-
getParameters
public UfsIOParameters getParameters()
- Returns:
- the task specific
UfsIOParameters
-
setParameters
public void setParameters(UfsIOParameters parameters)
- Parameters:
parameters- theUfsIOParameters
-
getReadSpeedStat
public IOTaskSummary.SpeedStat getReadSpeedStat()
- Returns:
- the
IOTaskSummary.SpeedStatfor read speed
-
setReadSpeedStat
public void setReadSpeedStat(IOTaskSummary.SpeedStat stat)
- Parameters:
stat- theIOTaskSummary.SpeedStatfor read stats
-
getWriteSpeedStat
public IOTaskSummary.SpeedStat getWriteSpeedStat()
- Returns:
- the
IOTaskSummary.SpeedStatfor write speed
-
setWriteSpeedStat
public void setWriteSpeedStat(IOTaskSummary.SpeedStat stat)
- Parameters:
stat- theIOTaskSummary.SpeedStatfor write stats
-
graphGenerator
public IOTaskSummary.GraphGenerator graphGenerator()
- Specified by:
graphGeneratorin interfaceSummary- Returns:
- the graph generator for this type of summary
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-