Class LockBasedSequenceValueProviderProperties
java.lang.Object
com.flowable.platform.engine.impl.sequence.LockBasedSequenceValueProviderProperties
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected Duration
The amount of time after the last sequence lock acquire time the lock will be forcefully acquired.protected Duration
The poll rate for checking if the sequence lock has been released.protected Duration
The amount of time to wait for the sequence lock to be released. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setForceAcquireAfter
(Duration forceAcquireAfter) void
setPollRate
(Duration pollRate) void
setWaitTime
(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
-