Class 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.
    • 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: AbstractMaxThroughput
        Construct parameters with user command-line args.
        Specified by:
        initParameters in class AbstractMaxThroughput<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: Benchmark
        Get the description of the bench.
        Specified by:
        getBenchDescription in class Benchmark<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.Exception
        Description copied from class: AbstractMaxThroughput
        Unit test for max throughput.
        Specified by:
        runSingleTest in class AbstractMaxThroughput<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
      • prepare

        public void prepare()
        Description copied from class: Benchmark
        Prepares to run the test.
        Specified by:
        prepare in class Benchmark<alluxio.stress.jobservice.JobServiceMaxThroughputSummary>