Interface JobRunrConfiguration.BackgroundJobServerConfiguration

  • Enclosing interface:
    JobRunrConfiguration

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<java.time.Duration> getDeleteSucceededJobsAfter()
      Sets the duration to wait before changing jobs that are in the SUCCEEDED state to the DELETED state.
      java.util.Optional<java.time.Duration> getPermanentlyDeleteDeletedJobsAfter()
      Sets the duration to wait before permanently deleting jobs that are in the DELETED state.
      java.util.Optional<java.lang.Integer> getPollIntervalInSeconds()
      Set the pollIntervalInSeconds for the BackgroundJobServer to see whether new jobs need to be processed
      java.util.Optional<java.lang.Integer> getWorkerCount()
      Sets the workerCount for the BackgroundJobServer which defines the maximum number of jobs that will be run in parallel.
      boolean isEnabled()
      Enables the background processing of jobs.
    • Method Detail

      • isEnabled

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

        java.util.Optional<java.lang.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

        java.util.Optional<java.lang.Integer> getPollIntervalInSeconds()
        Set the pollIntervalInSeconds for the BackgroundJobServer to see whether new jobs need to be processed
      • getDeleteSucceededJobsAfter

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

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