Package org.optaplanner.benchmark.impl

## Class DefaultPlannerBenchmark

- java.lang.Object
- - org.optaplanner.benchmark.impl.DefaultPlannerBenchmark

- All Implemented Interfaces:
    `PlannerBenchmark`

      public class DefaultPlannerBenchmark
      extends Object
      implements PlannerBenchmark

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultPlannerBenchmark​(PlannerBenchmarkResult plannerBenchmarkResult, File benchmarkDirectory, ExecutorService warmUpExecutorService, ExecutorService executorService, BenchmarkReport benchmarkReport)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `benchmark()` | Run all the single benchmarks and create an overview report.
    `void` | `benchmarkAndShowReportInBrowser()` | Run all the single benchmarks, create an overview report and show it in the default browser.
    `void` | `benchmarkingEnded()` |
    `void` | `benchmarkingStarted()` |
    `long` | `calculateTimeMillisSpent()` |
    `File` | `getBenchmarkDirectory()` |
    `BenchmarkReport` | `getBenchmarkReport()` |
    `PlannerBenchmarkResult` | `getPlannerBenchmarkResult()` |
    `protected void` | `runSingleBenchmarks()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultPlannerBenchmark

          public DefaultPlannerBenchmark​(PlannerBenchmarkResult plannerBenchmarkResult,
                                         File benchmarkDirectory,
                                         ExecutorService warmUpExecutorService,
                                         ExecutorService executorService,
                                         BenchmarkReport benchmarkReport)

  - ### Method Detail

    - #### getPlannerBenchmarkResult

          public PlannerBenchmarkResult getPlannerBenchmarkResult()

    - #### getBenchmarkDirectory

          public File getBenchmarkDirectory()

    - #### getBenchmarkReport

          public BenchmarkReport getBenchmarkReport()

    - #### benchmark

          public void benchmark()

      Description copied from interface: `PlannerBenchmark`
      Run all the single benchmarks and create an overview report.
      Specified by:
        `benchmark` in interface `PlannerBenchmark`

    - #### benchmarkingStarted

          public void benchmarkingStarted()

    - #### runSingleBenchmarks

          protected void runSingleBenchmarks()

    - #### benchmarkingEnded

          public void benchmarkingEnded()

    - #### calculateTimeMillisSpent

          public long calculateTimeMillisSpent()

    - #### benchmarkAndShowReportInBrowser

          public void benchmarkAndShowReportInBrowser()

      Description copied from interface: `PlannerBenchmark`
      Run all the single benchmarks, create an overview report and show it in the default browser.
      Specified by:
        `benchmarkAndShowReportInBrowser` in interface `PlannerBenchmark`