Class ResourceLockProperties
- java.lang.Object
-
- com.broadleafcommerce.common.messaging.repository.ResourceLockProperties
-
@ConfigurationProperties("broadleaf.resource.lock") public class ResourceLockProperties extends Object
Configuration forResourceLockRepository
.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description ResourceLockProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Duration
getDefaultStagnationThreshold()
The time, once elapsed, in which the system will consider a lock abandoned and allow another requester to acquire the lock.int
getLockPurgePageSize()
int
hashCode()
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.void
setLockPurgePageSize(int lockPurgePageSize)
String
toString()
-
-
-
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)
-
-