Class SbkCallbackReader
java.lang.Object
io.sbk.api.Worker
io.sbk.api.impl.SbkCallbackReader
@Deprecated
public final class SbkCallbackReader
extends Worker
implements Callback<Object>, Benchmark
Deprecated.
This interface is replaced by Abstract class AbstractCallbackReader and SbkReader.
SBK Callback reader implementation.
This deprecated helper adapts callback-style drivers into the older SBK
Benchmark interface. It is retained for backwards compatibility but has been
superseded by the SbkReader / AbstractCallbackReader
classes which provide richer orchestration and explicit lifecycle management.
If you are maintaining drivers, prefer implementing a DataReader
(synchronous or asynchronous) and integrate with SbkReader
instead of using this deprecated callback path.
-
Field Summary
Fields inherited from class Worker
id, params, perlChannel -
Constructor Summary
ConstructorsConstructorDescriptionSbkCallbackReader(int readerId, ParameterOptions params, io.perl.api.PerlChannel perlChannel, int idMax, DataType<Object> dataType, io.time.Time time) Deprecated. -
Method Summary
-
Constructor Details
-
SbkCallbackReader
public SbkCallbackReader(int readerId, ParameterOptions params, io.perl.api.PerlChannel perlChannel, int idMax, DataType<Object> dataType, io.time.Time time) Deprecated.
-
-
Method Details
-
start
-
stop
-
record
public void record(long startTime, long endTime, int dataSize, int events) Deprecated.Description copied from interface:CallbackAccept the benchmarking data. if your storage driver is not interested in passing the data read; then below method can be overridden. -
consume
-