Package alluxio.stress.cli.suite
Class JobServiceMaxThroughput
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<T>
-
- alluxio.stress.cli.suite.AbstractMaxThroughput<alluxio.stress.jobservice.JobServiceBenchTaskResult,alluxio.stress.jobservice.JobServiceMaxThroughputSummary,alluxio.stress.common.GeneralBenchSummary<alluxio.stress.jobservice.JobServiceBenchTaskResult>,alluxio.stress.jobservice.JobServiceBenchParameters>
-
- alluxio.stress.cli.suite.JobServiceMaxThroughput
-
public class JobServiceMaxThroughput extends AbstractMaxThroughput<alluxio.stress.jobservice.JobServiceBenchTaskResult,alluxio.stress.jobservice.JobServiceMaxThroughputSummary,alluxio.stress.common.GeneralBenchSummary<alluxio.stress.jobservice.JobServiceBenchTaskResult>,alluxio.stress.jobservice.JobServiceBenchParameters>
A max throughput suite for job service.
-
-
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.suite.AbstractMaxThroughput
LOG, mInitialThroughput, mMaxThroughputResult, mParameters
-
Fields inherited from class alluxio.stress.cli.Benchmark
mBaseParameters
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBenchDescription()Get the description of the bench.voidinitParameters(java.util.List<java.lang.String> baseArgs)Construct parameters with user command-line args.static voidmain(java.lang.String[] args)voidprepare()Prepares to run the test.protected alluxio.stress.jobservice.JobServiceBenchSummaryrunSingleTest(java.util.List<java.lang.String> args, int targetThroughput)Unit test for max throughput.-
Methods inherited from class alluxio.stress.cli.suite.AbstractMaxThroughput
run, runLocal, updateArgValue
-
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- the command-line args
-
initParameters
public void initParameters(java.util.List<java.lang.String> baseArgs)
Description copied from class:AbstractMaxThroughputConstruct parameters with user command-line args.- Specified by:
initParametersin classAbstractMaxThroughput<alluxio.stress.jobservice.JobServiceBenchTaskResult,alluxio.stress.jobservice.JobServiceMaxThroughputSummary,alluxio.stress.common.GeneralBenchSummary<alluxio.stress.jobservice.JobServiceBenchTaskResult>,alluxio.stress.jobservice.JobServiceBenchParameters>- Parameters:
baseArgs- initial args passed by the user
-
getBenchDescription
public java.lang.String getBenchDescription()
Description copied from class:BenchmarkGet the description of the bench.- Specified by:
getBenchDescriptionin classBenchmark<alluxio.stress.jobservice.JobServiceMaxThroughputSummary>- Returns:
- string of the bench description
-
runSingleTest
protected alluxio.stress.jobservice.JobServiceBenchSummary runSingleTest(java.util.List<java.lang.String> args, int targetThroughput) throws java.lang.ExceptionDescription copied from class:AbstractMaxThroughputUnit test for max throughput.- Specified by:
runSingleTestin classAbstractMaxThroughput<alluxio.stress.jobservice.JobServiceBenchTaskResult,alluxio.stress.jobservice.JobServiceMaxThroughputSummary,alluxio.stress.common.GeneralBenchSummary<alluxio.stress.jobservice.JobServiceBenchTaskResult>,alluxio.stress.jobservice.JobServiceBenchParameters>- Returns:
- the results
- Throws:
java.lang.Exception
-
-