Class SbkRuntimeConfig
java.lang.Object
io.sbk.config.SbkRuntimeConfig
Lifecycle and executor settings shared by the SBK benchmark runtime.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDefault storage-operation timeout in milliseconds.longGrace period after the requested benchmark duration.intParallelism of the PerL executor.longJVM shutdown-hook cleanup timeout in seconds.intExecutor threads reserved for lifecycle and measurement tasks.longWorker executor termination wait in seconds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SbkRuntimeConfigget()Returns the validated bundled runtime configuration.
-
Field Details
-
forcedShutdownGraceSeconds
public long forcedShutdownGraceSecondsGrace period after the requested benchmark duration. -
workerExecutorReserve
public int workerExecutorReserveExecutor threads reserved for lifecycle and measurement tasks. -
perlExecutorParallelism
public int perlExecutorParallelismParallelism of the PerL executor. -
workerTerminationSeconds
public long workerTerminationSecondsWorker executor termination wait in seconds. -
shutdownHookTimeoutSeconds
public long shutdownHookTimeoutSecondsJVM shutdown-hook cleanup timeout in seconds. -
defaultOperationTimeoutMillis
public int defaultOperationTimeoutMillisDefault storage-operation timeout in milliseconds.
-
-
Constructor Details
-
SbkRuntimeConfig
public SbkRuntimeConfig()Creates an empty configuration for properties binding.
-
-
Method Details
-
get
Returns the validated bundled runtime configuration.- Returns:
- shared runtime configuration
-