Package io.sbk.api.impl
Class SbkReader
java.lang.Object
io.sbk.api.Worker
io.sbk.api.impl.SbkReader
- All Implemented Interfaces:
io.perl.api.RunBenchmark
Reader Benchmarking Implementation.
-
Field Summary
Fields inherited from class io.sbk.api.Worker
id, params, perlChannel
-
Constructor Summary
ConstructorDescriptionSbkReader
(int readerId, ParameterOptions params, io.perl.api.PerlChannel perlChannel, DataType<Object> dType, io.time.Time time, DataReader<Object> reader, CountReaders rCount, ReadRequestsLogger readRequestsLogger, ExecutorService executor) -
Method Summary
-
Constructor Details
-
SbkReader
public SbkReader(int readerId, ParameterOptions params, io.perl.api.PerlChannel perlChannel, DataType<Object> dType, io.time.Time time, DataReader<Object> reader, CountReaders rCount, ReadRequestsLogger readRequestsLogger, ExecutorService executor)
-
-
Method Details
-
run
public CompletableFuture<Void> run(long secondsToRun, long recordsCount) throws IOException, EOFException, IllegalStateException - Specified by:
run
in interfaceio.perl.api.RunBenchmark
- Throws:
IOException
EOFException
IllegalStateException
-