Class MessageLockProperties.Takeover
java.lang.Object
com.broadleafcommerce.common.messaging.service.MessageLockProperties.Takeover
- Enclosing class:
- MessageLockProperties
Properties related to message lock takeover behavior
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDefault threshold beyond which uncompleted state message locks are considered stagnantList of listener names that should participate in takeover behavior.Explicit thresholds per listener name.inthashCode()booleanWhether takeover behavior is enabledvoidsetDefaultStagnationThreshold(Duration defaultStagnationThreshold) Default threshold beyond which uncompleted state message locks are considered stagnantvoidsetEnabled(boolean enabled) Whether takeover behavior is enabledvoidsetIncludeListenerNames(List<String> includeListenerNames) List of listener names that should participate in takeover behavior.voidsetStagnationThresholds(Map<String, Duration> stagnationThresholds) Explicit thresholds per listener name.toString()
-
Constructor Details
-
Takeover
public Takeover()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether takeover behavior is enabled -
getIncludeListenerNames
List of listener names that should participate in takeover behavior. Cases must individually opt in.- See Also:
-
getDefaultStagnationThreshold
Default threshold beyond which uncompleted state message locks are considered stagnant -
getStagnationThresholds
Explicit thresholds per listener name. If defined, will take priority overdefaultStagnationThreshold. -
setEnabled
public void setEnabled(boolean enabled) Whether takeover behavior is enabled -
setIncludeListenerNames
List of listener names that should participate in takeover behavior. Cases must individually opt in.- See Also:
-
setDefaultStagnationThreshold
Default threshold beyond which uncompleted state message locks are considered stagnant -
setStagnationThresholds
Explicit thresholds per listener name. If defined, will take priority overdefaultStagnationThreshold. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-