Interface JobRunrConfiguration.BackgroundJobServerConfiguration

Enclosing interface:
JobRunrConfiguration

@ConfigurationProperties("backgroundJobServer") public static interface JobRunrConfiguration.BackgroundJobServerConfiguration
  • Method Details

    • getName

      Optional<String> getName()
      Allows to set the name of the BackgroundJobServer (used in the dashboard).
    • isEnabled

      @Bindable(defaultValue="false") boolean isEnabled()
      Enables the background processing of jobs.
    • getWorkerCount

      Optional<Integer> 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

      Optional<Integer> getPollIntervalInSeconds()
      Set the pollIntervalInSeconds for the BackgroundJobServer to see whether new jobs need to be processed
    • getScheduledJobsRequestSize

      Optional<Integer> getScheduledJobsRequestSize()
      Sets the maximum number of jobs to update from scheduled to enqueued state per polling interval.
    • getOrphanedJobsRequestSize

      Optional<Integer> getOrphanedJobsRequestSize()
      Sets the query size for misfired jobs per polling interval (to retry them).
    • getSucceededJobsRequestSize

      Optional<Integer> getSucceededJobsRequestSize()
      Sets the maximum number of jobs to update from succeeded to deleted state per polling interval.
    • getDeleteSucceededJobsAfter

      Optional<Duration> getDeleteSucceededJobsAfter()
      Sets the duration to wait before changing jobs that are in the SUCCEEDED state to the DELETED state.
    • getPermanentlyDeleteDeletedJobsAfter

      Optional<Duration> getPermanentlyDeleteDeletedJobsAfter()
      Sets the duration to wait before permanently deleting jobs that are in the DELETED state.
    • getMetrics

      @NotNull @NotNull JobRunrConfiguration.MetricsConfiguration getMetrics()
      Allows to configure the MicroMeter Metrics integration for the BackgroundJobServer.