Package io.perl.api

Interface RunBenchmark

All Known Subinterfaces:
Perl
All Known Implementing Classes:
CQueuePerl

public interface RunBenchmark
Interface for executing writers/readers benchmarks.
  • Method Summary

    Modifier and Type
    Method
    Description
    run(long secondsToRun, long recordsCount)
    Run the performance Benchmark.
  • Method Details

    • run

      CompletableFuture<Void> run(long secondsToRun, long recordsCount) throws IOException, IllegalStateException
      Run the performance Benchmark.
      Parameters:
      secondsToRun - Number of seconds to Run
      recordsCount - If secondsToRun is 0, then this indicates the total number of records to benchmark or read/write. If secondsToRun is higher than 0, then this parameter is ignored.
      Returns:
      CompletableFuture.
      Throws:
      IllegalStateException - If an exception occurred.
      IOException - End of File exception