Class RetrySchedulerProperties
java.lang.Object
com.broadleafcommerce.common.messaging.notification.RetrySchedulerProperties
@ConfigurationProperties("broadleaf.notification.retry.scheduler")
public class RetrySchedulerProperties
extends Object
Configuration for the
RoundRobinRetryScheduler-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe maximum number of threads to use for burst processing.intThe thread pool size used for retry handling.inthashCode()booleanWhether the scheduler heartbeat is enabled.voidsetEnabled(boolean enabled) Whether the scheduler heartbeat is enabled.voidsetMaxBurstThreads(int maxBurstThreads) The maximum number of threads to use for burst processing.voidsetThreadPoolSize(int threadPoolSize) The thread pool size used for retry handling.toString()
-
Constructor Details
-
RetrySchedulerProperties
public RetrySchedulerProperties()
-
-
Method Details
-
getThreadPoolSize
public int getThreadPoolSize()The thread pool size used for retry handling. Default is 20. -
getMaxBurstThreads
public int getMaxBurstThreads()The maximum number of threads to use for burst processing. Default is 10. -
isEnabled
public boolean isEnabled()Whether the scheduler heartbeat is enabled. Default is true. -
setThreadPoolSize
public void setThreadPoolSize(int threadPoolSize) The thread pool size used for retry handling. Default is 20. -
setMaxBurstThreads
public void setMaxBurstThreads(int maxBurstThreads) The maximum number of threads to use for burst processing. Default is 10. -
setEnabled
public void setEnabled(boolean enabled) Whether the scheduler heartbeat is enabled. Default is true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-