Package alluxio.stress.cli
Class GetPinnedFileIdsBench
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<alluxio.stress.rpc.RpcTaskResult>
-
- alluxio.stress.cli.RpcBench<alluxio.stress.rpc.GetPinnedFileIdsParameters>
-
- alluxio.stress.cli.GetPinnedFileIdsBench
-
public class GetPinnedFileIdsBench extends RpcBench<alluxio.stress.rpc.GetPinnedFileIdsParameters>
A benchmarking tool for the GetPinnedFileIds 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 GetPinnedFileIdsBench()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Perform post-run cleanups.java.lang.StringgetBenchDescription()Get the description of the bench.alluxio.stress.rpc.GetPinnedFileIdsParametersgetParameters()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.
-
cleanup
public void cleanup() throws java.lang.ExceptionDescription copied from class:BenchmarkPerform post-run cleanups.
-
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.GetPinnedFileIdsParameters getParameters()
Description copied from class:RpcBenchReturns the parameters.- Specified by:
getParametersin classRpcBench<alluxio.stress.rpc.GetPinnedFileIdsParameters>- Returns:
- the parameters for the benchmark class
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- command-line arguments
-
-