Interface JobRunrConfiguration.BackgroundJobServerConfiguration
- Enclosing interface:
- JobRunrConfiguration
@ConfigurationProperties("backgroundJobServer")
public static interface JobRunrConfiguration.BackgroundJobServerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionSets the duration to wait before changing jobs that are in the SUCCEEDED state to the DELETED state.Allows to configure the MicroMeter Metrics integration for the BackgroundJobServer.getName()Allows to set the name of theBackgroundJobServer(used in the dashboard).Sets the query size for misfired jobs per polling interval (to retry them).Sets the duration to wait before permanently deleting jobs that are in the DELETED state.Set the pollIntervalInSeconds for the BackgroundJobServer to see whether new jobs need to be processedSets the maximum number of jobs to update from scheduled to enqueued state per polling interval.Sets the maximum number of jobs to update from succeeded to deleted state per polling interval.Sets the workerCount for the BackgroundJobServer which defines the maximum number of jobs that will be run in parallel.booleanEnables the background processing of jobs.
-
Method Details
-
getName
Allows to set the name of theBackgroundJobServer(used in the dashboard). -
isEnabled
@Bindable(defaultValue="false") boolean isEnabled()Enables the background processing of jobs. -
getWorkerCount
Sets the workerCount for the BackgroundJobServer which defines the maximum number of jobs that will be run in parallel. By default, this will be determined by the amount of available processor. -
getPollIntervalInSeconds
Set the pollIntervalInSeconds for the BackgroundJobServer to see whether new jobs need to be processed -
getScheduledJobsRequestSize
Sets the maximum number of jobs to update from scheduled to enqueued state per polling interval. -
getOrphanedJobsRequestSize
Sets the query size for misfired jobs per polling interval (to retry them). -
getSucceededJobsRequestSize
Sets the maximum number of jobs to update from succeeded to deleted state per polling interval. -
getDeleteSucceededJobsAfter
Sets the duration to wait before changing jobs that are in the SUCCEEDED state to the DELETED state. -
getPermanentlyDeleteDeletedJobsAfter
Sets the duration to wait before permanently deleting jobs that are in the DELETED state. -
getMetrics
Allows to configure the MicroMeter Metrics integration for the BackgroundJobServer.
-