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 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object