public class MultiOperationStressMasterBench extends StressMasterBenchBase<MultiOperationMasterBenchTaskResult,MultiOperationMasterBenchParameters>
Modifier and Type | Class and Description |
---|---|
protected class |
MultiOperationStressMasterBench.BenchThread |
StressMasterBenchBase.BenchContext
Benchmark.MethodStatistics, Benchmark.ProfileInput
mCachedFs, mCachedNativeFs, mDirsDir, mFiledata, mFilesDir, mFixedDir, mPathRecord, mTreeLevelQuant, mTreeTotalCount
mParameters
mBaseParameters
Constructor and Description |
---|
MultiOperationStressMasterBench()
Creates instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getBenchDescription()
Get the description of the bench.
|
protected MultiOperationStressMasterBench.BenchThread |
getBenchThread(StressMasterBenchBase.BenchContext context,
int index) |
protected StressMasterBenchBase.BenchContext |
getContext() |
static void |
main(String[] args) |
void |
prepare()
Prepares to run the test.
|
void |
validateParams()
Validates the parameters.
|
applyNativeOperation, deletePaths, extractHostName, runLocal
run
cleanup, generateJobConfig, mainInternal, parseParameters, processMethodProfiles, runSingleTask
public MultiOperationStressMasterBench()
public static void main(String[] args)
args
- command-line argumentspublic String getBenchDescription()
Benchmark
getBenchDescription
in class Benchmark<MultiOperationMasterBenchTaskResult>
public void validateParams() throws Exception
AbstractStressBench
validateParams
in class AbstractStressBench<MultiOperationMasterBenchTaskResult,MultiOperationMasterBenchParameters>
Exception
public void prepare() throws Exception
Benchmark
prepare
in class Benchmark<MultiOperationMasterBenchTaskResult>
Exception
protected MultiOperationStressMasterBench.BenchThread getBenchThread(StressMasterBenchBase.BenchContext context, int index)
getBenchThread
in class StressMasterBenchBase<MultiOperationMasterBenchTaskResult,MultiOperationMasterBenchParameters>
protected StressMasterBenchBase.BenchContext getContext() throws IOException, AlluxioException
getContext
in class StressMasterBenchBase<MultiOperationMasterBenchTaskResult,MultiOperationMasterBenchParameters>
IOException
AlluxioException
Copyright © 2023. All Rights Reserved.