Package alluxio.stress.cli.worker
Class StressWorkerBench
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<T>
-
- alluxio.stress.cli.AbstractStressBench<alluxio.stress.worker.WorkerBenchTaskResult,alluxio.stress.worker.WorkerBenchParameters>
-
- alluxio.stress.cli.worker.StressWorkerBench
-
public class StressWorkerBench extends AbstractStressBench<alluxio.stress.worker.WorkerBenchTaskResult,alluxio.stress.worker.WorkerBenchParameters>
Single node 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 StressWorkerBench()Creates instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBenchDescription()Get the description of the bench.static voidmain(java.lang.String[] args)voidprepare()Prepares to run the test.alluxio.stress.worker.WorkerBenchTaskResultrunLocal()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.worker.WorkerBenchTaskResult>- 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.worker.WorkerBenchTaskResult runLocal() throws java.lang.ExceptionDescription copied from class:BenchmarkRuns the test locally, in process.
-
validateParams
public void validateParams() throws java.lang.ExceptionDescription copied from class:AbstractStressBenchValidates the parameters.- Specified by:
validateParamsin classAbstractStressBench<alluxio.stress.worker.WorkerBenchTaskResult,alluxio.stress.worker.WorkerBenchParameters>- Throws:
java.lang.Exception
-
-