Class ExternalWorkerProperties

java.lang.Object
org.flowable.external.worker.spring.boot.ExternalWorkerProperties

@ConfigurationProperties(prefix="flowable.external.worker") public class ExternalWorkerProperties extends Object
Author:
Filip Hrisafov
  • Field Details

    • workerId

      protected String workerId
      The id of the worker that would be used for polling jobs.
    • concurrency

      protected Integer concurrency
      The default amount of concurrent workers.
    • lockDuration

      protected Duration lockDuration
      The default amount for the lock duration of the acquired jobs.
    • numberOfRetries

      protected Integer numberOfRetries
      The default amount of times the Flowable application should retry to lock the acquired jobs.
    • numberOfTasks

      protected Integer numberOfTasks
      The default amount of jobs that should be acquired.
    • pollingInterval

      protected Duration pollingInterval
      The default polling interval for the workers.
  • Constructor Details

    • ExternalWorkerProperties

      public ExternalWorkerProperties()
  • Method Details

    • getWorkerId

      public String getWorkerId()
    • setWorkerId

      public void setWorkerId(String workerId)
    • getConcurrency

      public Integer getConcurrency()
    • setConcurrency

      public void setConcurrency(Integer concurrency)
    • getLockDuration

      public Duration getLockDuration()
    • setLockDuration

      public void setLockDuration(Duration lockDuration)
    • getNumberOfRetries

      public Integer getNumberOfRetries()
    • setNumberOfRetries

      public void setNumberOfRetries(Integer numberOfRetries)
    • getNumberOfTasks

      public Integer getNumberOfTasks()
    • setNumberOfTasks

      public void setNumberOfTasks(Integer numberOfTasks)
    • getPollingInterval

      public Duration getPollingInterval()
    • setPollingInterval

      public void setPollingInterval(Duration pollingInterval)