Class JobRunrConfiguration.BackgroundJobServerConfiguration

  • Enclosing class:
    JobRunrConfiguration

    public static class JobRunrConfiguration.BackgroundJobServerConfiguration
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Optional<java.time.Duration> deleteSucceededJobsAfter
      Sets the duration to wait before changing jobs that are in the SUCCEEDED state to the DELETED state.
      boolean enabled
      Enables the background processing of jobs.
      java.util.Optional<java.time.Duration> permanentlyDeleteDeletedJobsAfter
      Sets the duration to wait before permanently deleting jobs that are in the DELETED state.
      java.util.Optional<java.lang.Integer> pollIntervalInSeconds
      Set the pollIntervalInSeconds for the BackgroundJobServer to see whether new jobs need to be processed
      java.util.Optional<java.lang.Integer> workerCount
      Sets the workerCount for the BackgroundJobServer which defines the maximum number of jobs that will be run in parallel.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • enabled

        @ConfigItem(defaultValue="false")
        public boolean enabled
        Enables the background processing of jobs.
      • workerCount

        @ConfigItem
        public java.util.Optional<java.lang.Integer> workerCount
        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.
      • pollIntervalInSeconds

        @ConfigItem
        public java.util.Optional<java.lang.Integer> pollIntervalInSeconds
        Set the pollIntervalInSeconds for the BackgroundJobServer to see whether new jobs need to be processed
      • deleteSucceededJobsAfter

        @ConfigItem
        public java.util.Optional<java.time.Duration> deleteSucceededJobsAfter
        Sets the duration to wait before changing jobs that are in the SUCCEEDED state to the DELETED state.
      • permanentlyDeleteDeletedJobsAfter

        @ConfigItem
        public java.util.Optional<java.time.Duration> permanentlyDeleteDeletedJobsAfter
        Sets the duration to wait before permanently deleting jobs that are in the DELETED state.
    • Constructor Detail

      • BackgroundJobServerConfiguration

        public BackgroundJobServerConfiguration()