Package alluxio.stress.fuse
Class FuseIOSummary
- java.lang.Object
-
- alluxio.stress.common.GeneralBenchSummary<FuseIOTaskResult>
-
- alluxio.stress.fuse.FuseIOSummary
-
- All Implemented Interfaces:
Summary,alluxio.util.JsonSerializable
public class FuseIOSummary extends GeneralBenchSummary<FuseIOTaskResult>
The summary for Fuse IO stress bench.
-
-
Field Summary
-
Fields inherited from class alluxio.stress.common.GeneralBenchSummary
mNodeResults, mThroughput
-
-
Constructor Summary
Constructors Constructor Description FuseIOSummary()Default constructor required for json deserialization.FuseIOSummary(FuseIOParameters parameters, BaseParameters baseParameters, java.util.Map<java.lang.String,FuseIOTaskResult> nodes, long recordStartMs, long endMs, long ioBytes, float ioMBps)Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseParametersgetBaseParameters()longgetEndMs()longgetIOBytes()floatgetIOMBps()FuseIOParametersgetParameters()longgetRecordStartMs()GraphGeneratorgraphGenerator()voidsetBaseParameters(BaseParameters baseParameters)voidsetEndMs(long endMs)voidsetIOBytes(long ioBytes)voidsetIOMBps(float ioMBps)voidsetParameters(FuseIOParameters parameters)voidsetRecordStartMs(long recordStartMs)-
Methods inherited from class alluxio.stress.common.GeneralBenchSummary
collectErrorsFromAllNodes, getNodeResults, getThroughput, setNodeResults, setThroughput
-
-
-
-
Constructor Detail
-
FuseIOSummary
public FuseIOSummary()
Default constructor required for json deserialization.
-
FuseIOSummary
public FuseIOSummary(FuseIOParameters parameters, BaseParameters baseParameters, java.util.Map<java.lang.String,FuseIOTaskResult> nodes, long recordStartMs, long endMs, long ioBytes, float ioMBps)
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 workersrecordStartMs- the timestamp starting counting bytesendMs- the timestamp that the test endsioBytes- total number of bytes processed by workersioMBps- aggregated throughput data
-
-
Method Detail
-
graphGenerator
@Nullable public GraphGenerator graphGenerator()
- Returns:
- the graph generator for this type of summary
-
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)
-
-