Class StressWorkerBench


  • public class StressWorkerBench
    extends AbstractStressBench<alluxio.stress.worker.WorkerBenchTaskResult,​alluxio.stress.worker.WorkerBenchParameters>
    Single node stress test.
    • Constructor Detail

      • StressWorkerBench

        public StressWorkerBench()
        Creates instance.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - command-line arguments
      • 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.worker.WorkerBenchTaskResult>
        Returns:
        string of the bench description
      • 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.worker.WorkerBenchTaskResult>
        Throws:
        java.lang.Exception
      • runLocal

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

        public void validateParams()
                            throws java.lang.Exception
        Description copied from class: AbstractStressBench
        Validates the parameters.
        Specified by:
        validateParams in class AbstractStressBench<alluxio.stress.worker.WorkerBenchTaskResult,​alluxio.stress.worker.WorkerBenchParameters>
        Throws:
        java.lang.Exception