Class LockBasedSequenceValueProviderProperties
java.lang.Object
com.flowable.platform.engine.impl.sequence.LockBasedSequenceValueProviderProperties
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DurationThe amount of time after the last sequence lock acquire time the lock will be forcefully acquired.protected DurationThe poll rate for checking if the sequence lock has been released.protected DurationThe amount of time to wait for the sequence lock to be released. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetForceAcquireAfter(Duration forceAcquireAfter) voidsetPollRate(Duration pollRate) voidsetWaitTime(Duration waitTime)
-
Field Details
-
pollRate
The poll rate for checking if the sequence lock has been released. -
forceAcquireAfter
The amount of time after the last sequence lock acquire time the lock will be forcefully acquired. This means that if for some reason another node did not release the lock properly because it crashed another node will be able to acquire the lock. -
waitTime
The amount of time to wait for the sequence lock to be released. If a lock cannot be acquired after this period an exception is throw.
-
-
Constructor Details
-
LockBasedSequenceValueProviderProperties
public LockBasedSequenceValueProviderProperties()
-
-
Method Details
-
getPollRate
-
setPollRate
-
getForceAcquireAfter
-
setForceAcquireAfter
-
getWaitTime
-
setWaitTime
-