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.longPortion of cleanup reserved for publishing final aggregate results.longMaximum graceful-cleanup period before application completion is forced.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 forcedShutdownGraceSecondsMaximum graceful-cleanup period before application completion is forced. -
finalResultPublicationMillis
public long finalResultPublicationMillisPortion of cleanup reserved for publishing final aggregate results. -
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
-