Package io.sbk.api
Interface BiConsumer
public interface BiConsumer
Interface BiConsumer.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 RunrecordsCount
- 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 exceptionIOException
- If an exception occurred.
-