Class StressJobServiceBench


  • public class StressJobServiceBench
    extends Benchmark<alluxio.stress.jobservice.JobServiceBenchTaskResult>
    Job Service stress bench.
    • Field Detail

      • MAX_RESPONSE_TIME_BUCKET_INDEX

        public static final int MAX_RESPONSE_TIME_BUCKET_INDEX
        See Also:
        Constant Field Values
    • Constructor Detail

      • StressJobServiceBench

        public StressJobServiceBench()
        Creates instance.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - command-line arguments
      • prepare

        public void prepare()
                     throws java.lang.Exception
        Description copied from class: Benchmark
        Prepares to run the test.
        Specified by:
        prepare in class Benchmark<alluxio.stress.jobservice.JobServiceBenchTaskResult>
        Throws:
        java.lang.Exception
      • 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.JobServiceBenchTaskResult>
        Returns:
        string of the bench description
      • runLocal

        public alluxio.stress.jobservice.JobServiceBenchTaskResult runLocal()
                                                                     throws java.lang.Exception
        Description copied from class: Benchmark
        Runs the test locally, in process.
        Specified by:
        runLocal in class Benchmark<alluxio.stress.jobservice.JobServiceBenchTaskResult>
        Returns:
        the task result
        Throws:
        java.lang.Exception