Class ResourceLockProperties


  • @ConfigurationProperties("broadleaf.resource.lock")
    public class ResourceLockProperties
    extends Object
    Configuration for ResourceLockRepository.
    Author:
    Jeff Fischer
    • Constructor Detail

      • ResourceLockProperties

        public ResourceLockProperties()
    • Method Detail

      • getDefaultStagnationThreshold

        public Duration getDefaultStagnationThreshold()
        The time, once elapsed, in which the system will consider a lock abandoned and allow another requester to acquire the lock.
        Returns:
        The time, once elapsed, in which the system will consider a lock abandoned
      • getLockPurgePageSize

        public int getLockPurgePageSize()
      • setDefaultStagnationThreshold

        public void setDefaultStagnationThreshold​(Duration defaultStagnationThreshold)
        The time, once elapsed, in which the system will consider a lock abandoned and allow another requester to acquire the lock.
        Parameters:
        stagnationThreshold - The time, once elapsed, in which the system will consider a lock abandoned
      • setLockPurgePageSize

        public void setLockPurgePageSize​(int lockPurgePageSize)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object