Class LockBasedSequenceValueProviderProperties


  • public class LockBasedSequenceValueProviderProperties
    extends Object
    Author:
    Filip Hrisafov
    • Field Detail

      • pollRate

        protected Duration pollRate
        The poll rate for checking if the sequence lock has been released.
      • forceAcquireAfter

        protected Duration 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

        protected Duration 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 Detail

      • LockBasedSequenceValueProviderProperties

        public LockBasedSequenceValueProviderProperties()
    • Method Detail

      • getPollRate

        public Duration getPollRate()
      • setPollRate

        public void setPollRate​(Duration pollRate)
      • getForceAcquireAfter

        public Duration getForceAcquireAfter()
      • setForceAcquireAfter

        public void setForceAcquireAfter​(Duration forceAcquireAfter)
      • getWaitTime

        public Duration getWaitTime()
      • setWaitTime

        public void setWaitTime​(Duration waitTime)