org.apache.lucene.benchmark

Interface Benchmarker

Known Implementing Classes:
AbstractBenchmarker, StandardBenchmarker

public interface Benchmarker

Method Summary

TestData[]
benchmark(File workingDir, BenchmarkOptions options)
Benchmark according to the implementation, using the workingDir as the place to store things.

Method Details

benchmark

public TestData[] benchmark(File workingDir,
                            BenchmarkOptions options)
            throws Exception
Benchmark according to the implementation, using the workingDir as the place to store things.
Parameters:
workingDir - The File directory to store temporary data in for running the benchmark
options - Any BenchmarkOptions that are needed for this benchmark. This
Returns:
The TestData used to run the benchmark.

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.