Class ResourceLockProperties
- java.lang.Object
-
- com.broadleafcommerce.common.messaging.repository.ResourceLockProperties
-
@ConfigurationProperties("broadleaf.resource.lock") public class ResourceLockProperties extends ObjectConfiguration forResourceLockRepository.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description ResourceLockProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)DurationgetDefaultStagnationThreshold()The time, once elapsed, in which the system will consider a lock abandoned and allow another requester to acquire the lock.intgetLockPurgePageSize()inthashCode()voidsetDefaultStagnationThreshold(Duration defaultStagnationThreshold)The time, once elapsed, in which the system will consider a lock abandoned and allow another requester to acquire the lock.voidsetLockPurgePageSize(int lockPurgePageSize)StringtoString()
-
-
-
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)
-
-