Class SbkConfig

java.lang.Object
io.sbk.config.SbkConfig

public final class SbkConfig extends Object
SBK command defaults and the separately loaded PerL configuration.
  • Field Details

    • defaultReadOnly

      public boolean defaultReadOnly
      Default read-only mode for mixed writer/reader benchmarks.
    • defaultWriters

      public int defaultWriters
      Default writer count when the option is omitted.
    • defaultReaders

      public int defaultReaders
      Default reader count when the option is omitted.
    • defaultRecords

      public long defaultRecords
      Default record count when the option is omitted.
    • defaultRecordSize

      public int defaultRecordSize
      Default record size when the option is omitted.
    • defaultSyncRecords

      public int defaultSyncRecords
      Default records per sync when the option is omitted.
    • defaultThroughput

      public double defaultThroughput
      Default throughput selector when the option is omitted.
    • defaultWriterStep

      public int defaultWriterStep
      Default writer ramp step.
    • defaultWriterStepSeconds

      public int defaultWriterStepSeconds
      Default writer ramp interval in seconds.
    • defaultReaderStep

      public int defaultReaderStep
      Default reader ramp step.
    • defaultReaderStepSeconds

      public int defaultReaderStepSeconds
      Default reader ramp interval in seconds.
    • defaultIdleSleepMillis

      public int defaultIdleSleepMillis
      Default worker idle sleep in milliseconds.
    • defaultThreadType

      public String defaultThreadType
      Default thread selector: p, f, or v.
  • Constructor Details

    • SbkConfig

      public SbkConfig()
      Creates an empty configuration for properties binding.
  • Method Details

    • get

      public static SbkConfig get()
      Returns the validated bundled SBK configuration.
      Returns:
      shared SBK configuration
    • getPerlConfig

      public io.perl.config.PerlConfig getPerlConfig()
      Returns the validated PerL settings loaded from the SBK PerL properties resource.
      Returns:
      shared PerL configuration