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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The time, once elapsed, in which the system will consider a lock abandoned and allow another requester to acquire the lock.int
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) toString()
-
Constructor Details
-
ResourceLockProperties
public ResourceLockProperties()
-
-
Method Details
-
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
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-