Package alluxio.stress.client
Class ClientIOSummary
- java.lang.Object
-
- alluxio.stress.common.GeneralBenchSummary<ClientIOTaskResult>
-
- alluxio.stress.client.ClientIOSummary
-
- All Implemented Interfaces:
Summary,alluxio.util.JsonSerializable
public class ClientIOSummary extends GeneralBenchSummary<ClientIOTaskResult>
The summary for Fuse IO stress bench.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientIOSummary.GraphGeneratorThe graph generator for this summary.
-
Field Summary
-
Fields inherited from class alluxio.stress.common.GeneralBenchSummary
mNodeResults, mThroughput
-
-
Constructor Summary
Constructors Constructor Description ClientIOSummary()Default constructor required for json deserialization.ClientIOSummary(ClientIOParameters parameters, BaseParameters baseParameters, java.util.Map<java.lang.String,ClientIOTaskResult> nodes, java.util.Map<java.lang.Integer,java.lang.Float> threadCountIoMbps)Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseParametersgetBaseParameters()ClientIOParametersgetParameters()java.util.Map<java.lang.Integer,java.lang.Float>getThreadCountIoMbps()ClientIOSummary.GraphGeneratorgraphGenerator()voidsetBaseParameters(BaseParameters baseParameters)voidsetParameters(ClientIOParameters parameters)voidsetThreadCountIoMbps(java.util.Map<java.lang.Integer,java.lang.Float> threadCountIoMbps)-
Methods inherited from class alluxio.stress.common.GeneralBenchSummary
collectErrorsFromAllNodes, getNodeResults, getThroughput, setNodeResults, setThroughput
-
-
-
-
Constructor Detail
-
ClientIOSummary
public ClientIOSummary()
Default constructor required for json deserialization.
-
ClientIOSummary
public ClientIOSummary(ClientIOParameters parameters, BaseParameters baseParameters, java.util.Map<java.lang.String,ClientIOTaskResult> nodes, java.util.Map<java.lang.Integer,java.lang.Float> threadCountIoMbps)
Creates an instance.- Parameters:
parameters- the parameters for the Fuse IO stress benchbaseParameters- the base parameters for the Fuse IO stress benchnodes- the result of each clientthreadCountIoMbps- aggregated throughput data with different number of threads
-
-
Method Detail
-
graphGenerator
public ClientIOSummary.GraphGenerator graphGenerator()
- Returns:
- the graph generator for this type of summary
-
getParameters
public ClientIOParameters getParameters()
- Returns:
- Fuse IO stress bench parameters
-
setParameters
public void setParameters(ClientIOParameters 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
-
getThreadCountIoMbps
public java.util.Map<java.lang.Integer,java.lang.Float> getThreadCountIoMbps()
- Returns:
- the aggregated IOMbps with different thread numbers
-
setThreadCountIoMbps
public void setThreadCountIoMbps(java.util.Map<java.lang.Integer,java.lang.Float> threadCountIoMbps)
- Parameters:
threadCountIoMbps- the aggregated IOMbps with different thread numbers
-
-