Class SbkConfig
java.lang.Object
io.sbk.config.SbkConfig
SBK command defaults and the separately loaded PerL configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDefault worker idle sleep in milliseconds.intDefault reader count when the option is omitted.intDefault reader ramp step.intDefault reader ramp interval in seconds.booleanDefault read-only mode for mixed writer/reader benchmarks.longDefault record count when the option is omitted.intDefault record size when the option is omitted.intDefault records per sync when the option is omitted.Default thread selector: p, f, or v.doubleDefault throughput selector when the option is omitted.intDefault writer count when the option is omitted.intDefault writer ramp step.intDefault writer ramp interval in seconds. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
defaultReadOnly
public boolean defaultReadOnlyDefault read-only mode for mixed writer/reader benchmarks. -
defaultWriters
public int defaultWritersDefault writer count when the option is omitted. -
defaultReaders
public int defaultReadersDefault reader count when the option is omitted. -
defaultRecords
public long defaultRecordsDefault record count when the option is omitted. -
defaultRecordSize
public int defaultRecordSizeDefault record size when the option is omitted. -
defaultSyncRecords
public int defaultSyncRecordsDefault records per sync when the option is omitted. -
defaultThroughput
public double defaultThroughputDefault throughput selector when the option is omitted. -
defaultWriterStep
public int defaultWriterStepDefault writer ramp step. -
defaultWriterStepSeconds
public int defaultWriterStepSecondsDefault writer ramp interval in seconds. -
defaultReaderStep
public int defaultReaderStepDefault reader ramp step. -
defaultReaderStepSeconds
public int defaultReaderStepSecondsDefault reader ramp interval in seconds. -
defaultIdleSleepMillis
public int defaultIdleSleepMillisDefault worker idle sleep in milliseconds. -
defaultThreadType
Default thread selector: p, f, or v.
-
-
Constructor Details
-
SbkConfig
public SbkConfig()Creates an empty configuration for properties binding.
-
-
Method Details
-
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
-