Class SbkWriter

java.lang.Object
io.sbk.api.Worker
io.sbk.api.impl.SbkWriter
All Implemented Interfaces:
io.perl.api.RunBenchmark

public final class SbkWriter extends Worker implements io.perl.api.RunBenchmark
Writer Benchmarking Implementation.

This class adapts a DataWriter into the SBK harness by implementing the RunBenchmark contract. It constructs a payload using the configured DataType and exposes benchmark variants (time-based, count-based, sync/batched and with optional write-request logging).

Key responsibilities:

  • Create and manage per-writer payload and lifecycle.
  • Select and execute the appropriate benchmark variant based on ParameterOptions.
  • Coordinate rate control using SbkRateController when a target throughput is configured.