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 Summary
FieldsModifier and TypeFieldDescriptionprotected IntegerThe default amount of concurrent workers.protected DurationThe default amount for the lock duration of the acquired jobs.protected IntegerThe default amount of times the Flowable application should retry to lock the acquired jobs.protected IntegerThe default amount of jobs that should be acquired.protected DurationThe default polling interval for the workers.protected StringThe id of the worker that would be used for polling jobs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetConcurrency(Integer concurrency) voidsetLockDuration(Duration lockDuration) voidsetNumberOfRetries(Integer numberOfRetries) voidsetNumberOfTasks(Integer numberOfTasks) voidsetPollingInterval(Duration pollingInterval) voidsetWorkerId(String workerId)
-
Field Details
-
workerId
The id of the worker that would be used for polling jobs. -
concurrency
The default amount of concurrent workers. -
lockDuration
The default amount for the lock duration of the acquired jobs. -
numberOfRetries
The default amount of times the Flowable application should retry to lock the acquired jobs. -
numberOfTasks
The default amount of jobs that should be acquired. -
pollingInterval
The default polling interval for the workers.
-
-
Constructor Details
-
ExternalWorkerProperties
public ExternalWorkerProperties()
-
-
Method Details
-
getWorkerId
-
setWorkerId
-
getConcurrency
-
setConcurrency
-
getLockDuration
-
setLockDuration
-
getNumberOfRetries
-
setNumberOfRetries
-
getNumberOfTasks
-
setNumberOfTasks
-
getPollingInterval
-
setPollingInterval
-