Package alluxio.stress.cli
Class RegisterWorkerBench
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<alluxio.stress.rpc.RpcTaskResult>
-
- alluxio.stress.cli.RpcBench<alluxio.stress.rpc.BlockMasterBenchParameters>
-
- alluxio.stress.cli.RegisterWorkerBench
-
public class RegisterWorkerBench extends RpcBench<alluxio.stress.rpc.BlockMasterBenchParameters>
A benchmarking tool for the RegisterWorker RPC.
-
-
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 RegisterWorkerBench()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBenchDescription()Get the description of the bench.alluxio.stress.rpc.BlockMasterBenchParametersgetParameters()Returns the parameters.static voidmain(java.lang.String[] args)voidprepare()Prepares to run the test.alluxio.stress.rpc.RpcTaskResultrunRPC()Defines how each thread runs RPCs.-
Methods inherited from class alluxio.stress.cli.Benchmark
generateJobConfig, mainInternal, parseParameters, processMethodProfiles, run, runSingleTask
-
-
-
-
Method Detail
-
getBenchDescription
public java.lang.String getBenchDescription()
Description copied from class:BenchmarkGet the description of the bench.- Specified by:
getBenchDescriptionin classBenchmark<alluxio.stress.rpc.RpcTaskResult>- Returns:
- string of the bench description
-
prepare
public void prepare() throws java.lang.ExceptionDescription copied from class:BenchmarkPrepares to run the test.
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- command-line arguments
-
runRPC
public alluxio.stress.rpc.RpcTaskResult runRPC() throws java.lang.ExceptionDescription copied from class:RpcBenchDefines how each thread runs RPCs.
-
getParameters
public alluxio.stress.rpc.BlockMasterBenchParameters getParameters()
Description copied from class:RpcBenchReturns the parameters.- Specified by:
getParametersin classRpcBench<alluxio.stress.rpc.BlockMasterBenchParameters>- Returns:
- the parameters for the benchmark class
-
-