Package io.sbk.api

Interface BiConsumer


public interface BiConsumer
Interface BiConsumer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(long secondsToRun, long recordsCount)
    Apply the Benchmark.
  • Method Details

    • apply

      void apply(long secondsToRun, long recordsCount) throws IOException, EOFException, IllegalStateException
      Apply the Benchmark.
      Parameters:
      secondsToRun - number of seconds to Run
      recordsCount - Maximum number of records to count. If this value 0 or less than 0,then run the benchmark till secondsToRun.
      Throws:
      IllegalStateException - If an exception occurred.
      EOFException - End of File exception
      IOException - If an exception occurred.