Package alluxio.stress.cli
Class MaxFileBench
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<T>
-
- alluxio.stress.cli.AbstractStressBench<T,P>
-
- alluxio.stress.cli.StressMasterBenchBase<alluxio.stress.master.MasterBenchTaskResult,alluxio.stress.master.MasterBenchParameters>
-
- alluxio.stress.cli.StressMasterBench
-
- alluxio.stress.cli.MaxFileBench
-
public class MaxFileBench extends StressMasterBench
MaxFile StressBench class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class alluxio.stress.cli.StressMasterBench
StressMasterBench.BenchThread
-
Nested classes/interfaces inherited from class alluxio.stress.cli.StressMasterBenchBase
StressMasterBenchBase.BenchContext
-
Nested classes/interfaces inherited from class alluxio.stress.cli.Benchmark
Benchmark.MethodStatistics, Benchmark.ProfileInput
-
-
Field Summary
-
Fields inherited from class alluxio.stress.cli.StressMasterBenchBase
mCachedFs, mCachedNativeFs, mDirsDir, mFiledata, mFilesDir, mFixedDir, mPathNodeIds, mTreeLevelNodeCount, mTreeTotalNodeCount
-
Fields inherited from class alluxio.stress.cli.AbstractStressBench
mParameters
-
Fields inherited from class alluxio.stress.cli.Benchmark
mBaseParameters
-
-
Constructor Summary
Constructors Constructor Description MaxFileBench()
-
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)protected voidparseParameters(java.lang.String[] args)alluxio.stress.master.MasterBenchTaskResultrunLocal()Runs the test locally, in process.-
Methods inherited from class alluxio.stress.cli.StressMasterBench
getBenchThread, getContext, prepare, validateParams
-
Methods inherited from class alluxio.stress.cli.StressMasterBenchBase
applyNativeOperation, deletePaths, extractHostName
-
Methods inherited from class alluxio.stress.cli.AbstractStressBench
run
-
Methods inherited from class alluxio.stress.cli.Benchmark
cleanup, generateJobConfig, mainInternal, 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.- Overrides:
getBenchDescriptionin classStressMasterBench- Returns:
- string of the bench description
-
parseParameters
protected void parseParameters(java.lang.String[] args)
- Overrides:
parseParametersin classBenchmark<alluxio.stress.master.MasterBenchTaskResult>
-
runLocal
public alluxio.stress.master.MasterBenchTaskResult runLocal() throws java.lang.ExceptionDescription copied from class:BenchmarkRuns the test locally, in process.- Overrides:
runLocalin classStressMasterBenchBase<alluxio.stress.master.MasterBenchTaskResult,alluxio.stress.master.MasterBenchParameters>- Returns:
- the task result
- Throws:
java.lang.Exception
-
-