Class ResourceLockProperties

java.lang.Object
com.broadleafcommerce.common.messaging.repository.ResourceLockProperties

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

    • ResourceLockProperties

      public ResourceLockProperties()
  • Method Details

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object