Package alluxio.stress.cli.client
Class StressClientIOBench
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<T>
-
- alluxio.stress.cli.AbstractStressBench<alluxio.stress.client.ClientIOTaskResult,alluxio.stress.client.ClientIOParameters>
-
- alluxio.stress.cli.client.StressClientIOBench
-
public class StressClientIOBench extends AbstractStressBench<alluxio.stress.client.ClientIOTaskResult,alluxio.stress.client.ClientIOParameters>
Client IO stress test.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class alluxio.stress.cli.Benchmark
Benchmark.MethodStatistics, Benchmark.ProfileInput
-
-
Field Summary
-
Fields inherited from class alluxio.stress.cli.AbstractStressBench
mParameters
-
Fields inherited from class alluxio.stress.cli.Benchmark
mBaseParameters
-
-
Constructor Summary
Constructors Constructor Description StressClientIOBench()Creates instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,alluxio.stress.common.SummaryStatistics>addAdditionalResult(long startMs, long endMs)Read the log file from java agent log file.java.lang.StringgetBenchDescription()Get the description of the bench.static voidmain(java.lang.String[] args)voidprepare()Prepares to run the test.alluxio.stress.client.ClientIOTaskResultrunLocal()Runs the test locally, in process.voidvalidateParams()Validates the parameters.-
Methods inherited from class alluxio.stress.cli.AbstractStressBench
run
-
Methods inherited from class alluxio.stress.cli.Benchmark
cleanup, generateJobConfig, mainInternal, parseParameters, processMethodProfiles, runSingleTask
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- command-line arguments
-
getBenchDescription
public java.lang.String getBenchDescription()
Description copied from class:BenchmarkGet the description of the bench.- Specified by:
getBenchDescriptionin classBenchmark<alluxio.stress.client.ClientIOTaskResult>- Returns:
- string of the bench description
-
prepare
public void prepare() throws java.lang.ExceptionDescription copied from class:BenchmarkPrepares to run the test.
-
runLocal
public alluxio.stress.client.ClientIOTaskResult runLocal() throws java.lang.ExceptionDescription copied from class:BenchmarkRuns the test locally, in process.
-
addAdditionalResult
public java.util.Map<java.lang.String,alluxio.stress.common.SummaryStatistics> addAdditionalResult(long startMs, long endMs) throws java.io.IOExceptionRead the log file from java agent log file.- Parameters:
startMs- start time for profilingendMs- end time for profiling- Returns:
- TimeToFirstByteStatistics
- Throws:
java.io.IOException- exception
-
validateParams
public void validateParams() throws java.lang.ExceptionDescription copied from class:AbstractStressBenchValidates the parameters.- Specified by:
validateParamsin classAbstractStressBench<alluxio.stress.client.ClientIOTaskResult,alluxio.stress.client.ClientIOParameters>- Throws:
java.lang.Exception
-
-