Package alluxio.stress.cli.client
Class StressClientIOBench
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<alluxio.stress.client.ClientIOTaskResult>
-
- alluxio.stress.cli.client.StressClientIOBench
-
public class StressClientIOBench extends Benchmark<alluxio.stress.client.ClientIOTaskResult>
Single node 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.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.-
Methods inherited from class alluxio.stress.cli.Benchmark
cleanup, generateJobConfig, mainInternal, processMethodProfiles, run
-
-
-
-
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
-
-