Package alluxio.stress.cli
Class AbstractStressBench<T extends alluxio.stress.TaskResult,P extends alluxio.stress.common.FileSystemParameters>
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<T>
-
- alluxio.stress.cli.AbstractStressBench<T,P>
-
- Type Parameters:
T- the type of task resultP- the type of task parameter
- Direct Known Subclasses:
StressClientIOBench,StressMasterBenchBase,StressWorkerBench
public abstract class AbstractStressBench<T extends alluxio.stress.TaskResult,P extends alluxio.stress.common.FileSystemParameters> extends Benchmark<T>
An abstraction for stress tests which generates a specific workload on a certain Alluxio component (master, worker, ClientIO).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class alluxio.stress.cli.Benchmark
Benchmark.MethodStatistics, Benchmark.ProfileInput
-
-
Field Summary
Fields Modifier and Type Field Description protected PmParameters-
Fields inherited from class alluxio.stress.cli.Benchmark
mBaseParameters
-
-
Constructor Summary
Constructors Constructor Description AbstractStressBench()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Stringrun(java.lang.String[] args)Runs the test and returns the string output.abstract voidvalidateParams()Validates the parameters.-
Methods inherited from class alluxio.stress.cli.Benchmark
cleanup, generateJobConfig, getBenchDescription, mainInternal, parseParameters, prepare, processMethodProfiles, runLocal, runSingleTask
-
-
-
-
Field Detail
-
mParameters
protected P extends alluxio.stress.common.FileSystemParameters mParameters
-
-
Method Detail
-
validateParams
public abstract void validateParams() throws java.lang.ExceptionValidates the parameters.- Throws:
java.lang.Exception
-
run
public java.lang.String run(java.lang.String[] args) throws java.lang.ExceptionDescription copied from class:BenchmarkRuns the test and returns the string output.
-
-